Jeremy White : sane.ds: Eliminate incorrect TWRC_FAILURE return.

Alexandre Julliard julliard at winehq.org
Tue Feb 10 07:45:28 CST 2009


Module: wine
Branch: master
Commit: 8dee7519c6e1612ee4bdfd624f0c1150af0c65b5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8dee7519c6e1612ee4bdfd624f0c1150af0c65b5

Author: Jeremy White <jwhite at winehq.org>
Date:   Mon Feb  9 13:01:03 2009 -0600

sane.ds: Eliminate incorrect TWRC_FAILURE return.

---

 dlls/sane.ds/capability.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/sane.ds/capability.c b/dlls/sane.ds/capability.c
index bc6a8d3..1755b6c 100644
--- a/dlls/sane.ds/capability.c
+++ b/dlls/sane.ds/capability.c
@@ -257,10 +257,6 @@ TW_UINT16 SANE_SaneCapability (pTW_CAPABILITY pCapability, TW_UINT16 action)
         case ICAP_XFERMECH:
             twCC = SANE_ICAPXferMech (pCapability, action);
             break;
-
-        default:
-            twCC = TWRC_FAILURE;
-
     }
 
     return twCC;




More information about the wine-cvs mailing list