[Pcsclite-cvs-commit] r3414 - /trunk/Drivers/ccid/src/ccid_usb.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Thu Apr 9 07:21:48 UTC 2009


Author: rousseau
Date: Thu Apr  9 07:21:47 2009
New Revision: 3414

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=3414
Log:
OpenUSBByName(): static_interface variable is used only with
USE_COMPOSITE_AS_MULTISLOT

Modified:
    trunk/Drivers/ccid/src/ccid_usb.c

Modified: trunk/Drivers/ccid/src/ccid_usb.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ccid_usb.c?rev=3414&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ccid_usb.c (original)
+++ trunk/Drivers/ccid/src/ccid_usb.c Thu Apr  9 07:21:47 2009
@@ -357,9 +357,10 @@
 					struct usb_interface *usb_interface = NULL;
 					int interface;
 					int num = 0;
+
+#ifdef USE_COMPOSITE_AS_MULTISLOT
 					static int static_interface = 1;
 
-#ifdef USE_COMPOSITE_AS_MULTISLOT
 					{
 						/* simulate a composite device as when libhal is
 						 * used */




More information about the Pcsclite-cvs-commit mailing list