[Pcsclite-cvs-commit] r5932 - /trunk/PCSC/src/winscard_clnt.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sat Sep 3 21:43:32 UTC 2011


Author: rousseau
Date: Sat Sep  3 21:43:32 2011
New Revision: 5932

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5932
Log:
Fix compiler warning when autostart is not used

winscard_clnt.c: In function `SCardEstablishContext':
winscard_clnt.c:455:1: warning: label `again' defined but not used
[-Wunused-label]

Modified:
    trunk/PCSC/src/winscard_clnt.c

Modified: trunk/PCSC/src/winscard_clnt.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard_clnt.c?rev=5932&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_clnt.c (original)
+++ trunk/PCSC/src/winscard_clnt.c Sat Sep  3 21:43:32 2011
@@ -452,7 +452,9 @@
 	API_TRACE_IN("%ld, %p, %p", dwScope, pvReserved1, pvReserved2)
 	PROFILE_START
 
+#ifdef ENABLE_AUTOSTART
 again:
+#endif
 	/* Check if the server is running */
 	rv = SCardCheckDaemonAvailability();
 	if (SCARD_E_INVALID_HANDLE == rv)




More information about the Pcsclite-cvs-commit mailing list