Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3d807061
Commit
3d807061
authored
Dec 22, 2015
by
André Hentschel
Committed by
Alexandre Julliard
Dec 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sane.ds: Remove dead code (Clang).
Signed-off-by:
André Hentschel
<
nerv@dawncrow.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
63b392b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
capability.c
dlls/sane.ds/capability.c
+0
-6
No files found.
dlls/sane.ds/capability.c
View file @
3d807061
...
@@ -1081,11 +1081,6 @@ static TW_UINT16 SANE_CAPFeederEnabled (pTW_CAPABILITY pCapability, TW_UINT16 ac
...
@@ -1081,11 +1081,6 @@ static TW_UINT16 SANE_CAPFeederEnabled (pTW_CAPABILITY pCapability, TW_UINT16 ac
twCC
=
msg_set
(
pCapability
,
&
val
);
twCC
=
msg_set
(
pCapability
,
&
val
);
if
(
twCC
==
TWCC_SUCCESS
)
if
(
twCC
==
TWCC_SUCCESS
)
{
{
if
(
val
)
enabled
=
TRUE
;
else
enabled
=
FALSE
;
strcpy
(
source
,
"ADF"
);
strcpy
(
source
,
"ADF"
);
status
=
sane_option_set_str
(
activeDS
.
deviceHandle
,
SANE_NAME_SCAN_SOURCE
,
source
,
NULL
);
status
=
sane_option_set_str
(
activeDS
.
deviceHandle
,
SANE_NAME_SCAN_SOURCE
,
source
,
NULL
);
if
(
status
!=
SANE_STATUS_GOOD
)
if
(
status
!=
SANE_STATUS_GOOD
)
...
@@ -1109,7 +1104,6 @@ static TW_UINT16 SANE_CAPFeederEnabled (pTW_CAPABILITY pCapability, TW_UINT16 ac
...
@@ -1109,7 +1104,6 @@ static TW_UINT16 SANE_CAPFeederEnabled (pTW_CAPABILITY pCapability, TW_UINT16 ac
strcpy
(
source
,
"Auto"
);
strcpy
(
source
,
"Auto"
);
if
(
sane_option_set_str
(
activeDS
.
deviceHandle
,
SANE_NAME_SCAN_SOURCE
,
source
,
NULL
)
==
SANE_STATUS_GOOD
)
if
(
sane_option_set_str
(
activeDS
.
deviceHandle
,
SANE_NAME_SCAN_SOURCE
,
source
,
NULL
)
==
SANE_STATUS_GOOD
)
enabled
=
TRUE
;
enabled
=
TRUE
;
twCC
=
TWCC_SUCCESS
;
/* .. fall through intentional .. */
/* .. fall through intentional .. */
case
MSG_GETCURRENT
:
case
MSG_GETCURRENT
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment