../src/wcmUSB.c:1140:9: warning: 'return' will never be executed 
[-Wunreachable-code-return]
        return 0;
               ^

Signed-off-by: Jason Gerecke <killert...@gmail.com>
---
 src/wcmUSB.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/wcmUSB.c b/src/wcmUSB.c
index d2c8511..f00cf45 100644
--- a/src/wcmUSB.c
+++ b/src/wcmUSB.c
@@ -1137,7 +1137,6 @@ static int usbFindDeviceTypeById(int device_id)
                default: /* protocol 5 */
                        return usbIdToType(device_id);
        }
-       return 0;
 }
 
 static void usbParseAbsEvent(WacomCommonPtr common,
-- 
2.1.0


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to