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

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Jul 4 08:35:01 UTC 2008


Author: rousseau
Date: Fri Jul  4 08:35:01 2008
New Revision: 3039

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=3039
Log:
SCardGetStatusChange(): simplify the Clear the event state for all
readers loop

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=3039&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_clnt.c (original)
+++ trunk/PCSC/src/winscard_clnt.c Fri Jul  4 08:35:01 2008
@@ -1851,10 +1851,7 @@
 	 * Clear the event state for all readers
 	 */
 	for (j = 0; j < cReaders; j++)
-	{
-		currReader = &rgReaderStates[j];
-		currReader->dwEventState = 0;
-	}
+		rgReaderStates[j].dwEventState = 0;
 
 	/*
 	 * Now is where we start our event checking loop




More information about the Pcsclite-cvs-commit mailing list