[Pcsclite-cvs-commit] r3102 - /trunk/PCSC/src/winscard_clnt.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Tue Aug 26 09:21:10 UTC 2008
Author: rousseau
Date: Tue Aug 26 09:21:10 2008
New Revision: 3102
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=3102
Log:
SCardGetStatusChange(): use k instead of i
warning: declaration of 'i' shadows a previous local
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=3102&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_clnt.c (original)
+++ trunk/PCSC/src/winscard_clnt.c Tue Aug 26 09:21:10 2008
@@ -1942,10 +1942,10 @@
/* PnP special reader? */
if (strcasecmp(lpcReaderName, "\\\\?PnP?\\Notification") == 0)
{
- int i, newReaderCount = 0;
-
- for (i=0; i < PCSCLITE_MAX_READERS_CONTEXTS; i++)
- if ((readerStates[i])->readerID != 0)
+ int k, newReaderCount = 0;
+
+ for (k=0; k < PCSCLITE_MAX_READERS_CONTEXTS; k++)
+ if ((readerStates[k])->readerID != 0)
newReaderCount++;
if (newReaderCount != currentReaderCount)
More information about the Pcsclite-cvs-commit
mailing list