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

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Thu Jan 20 09:34:41 UTC 2011


Author: rousseau
Date: Thu Jan 20 09:34:41 2011
New Revision: 5538

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5538
Log:
SCardStatus(): initialize a dummy variable to avoid warnings

src/winscard_clnt.c:1451:2: warning: Assigned value is garbage or undefined
        dwReaderLen = *pcchReaderLen;
        ^             ~~~~~~~~~~~~~~
src/winscard_clnt.c:1452:2: warning: Assigned value is garbage or undefined
        dwAtrLen = *pcbAtrLen;
        ^          ~~~~~~~~~~

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=5538&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_clnt.c (original)
+++ trunk/PCSC/src/winscard_clnt.c Thu Jan 20 09:34:41 2011
@@ -1429,7 +1429,7 @@
 	char *r;
 	char *bufReader = NULL;
 	LPBYTE bufAtr = NULL;
-	DWORD dummy;
+	DWORD dummy = 0;
 
 	PROFILE_START
 




More information about the Pcsclite-cvs-commit mailing list