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

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sat Feb 7 16:23:54 UTC 2009


Author: rousseau
Date: Sat Feb  7 16:23:54 2009
New Revision: 3310

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=3310
Log:
OpenUSBByName(): device_vendor and device_product varioables are not used
on Mac OS X.

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=3310&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ccid_usb.c (original)
+++ trunk/Drivers/ccid/src/ccid_usb.c Sat Feb  7 16:23:54 2009
@@ -151,7 +151,9 @@
 	char keyValue[TOKEN_MAX_VALUE_SIZE];
 	unsigned int vendorID, productID;
 	char infofile[FILENAME_MAX];
+#ifndef __APPLE__
 	unsigned int device_vendor, device_product;
+#endif
 	char *dirname = NULL, *filename = NULL;
 	static int previous_reader_index = -1;
 




More information about the Pcsclite-cvs-commit mailing list