[Pcsclite-cvs-commit] r5534 - /trunk/PCSC/src/winscard.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu Jan 20 09:28:43 UTC 2011
Author: rousseau
Date: Thu Jan 20 09:28:42 2011
New Revision: 5534
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5534
Log:
remove unused affectations
src/winscard.c:565:4: warning: Value stored to 'rv' is never read
rv = IFDPowerICC(rContext, IFD_POWER_DOWN, NULL, NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/winscard.c:835:4: warning: Value stored to 'rv' is never read
rv = IFDPowerICC(rContext, IFD_POWER_DOWN, NULL, NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/winscard.c:1095:4: warning: Value stored to 'rv' is never read
rv = IFDPowerICC(rContext, IFD_POWER_DOWN, NULL, NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Modified:
trunk/PCSC/src/winscard.c
Modified: trunk/PCSC/src/winscard.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard.c?rev=5534&op=diff
==============================================================================
--- trunk/PCSC/src/winscard.c (original)
+++ trunk/PCSC/src/winscard.c Thu Jan 20 09:28:42 2011
@@ -562,7 +562,7 @@
rContext->readerState->cardAtr, &dwAtrLen);
else
{
- rv = IFDPowerICC(rContext, IFD_POWER_DOWN, NULL, NULL);
+ IFDPowerICC(rContext, IFD_POWER_DOWN, NULL, NULL);
rv = IFDPowerICC(rContext, IFD_POWER_UP,
rContext->readerState->cardAtr, &dwAtrLen);
}
@@ -832,7 +832,7 @@
rContext->readerState->cardAtr, &dwAtrLen);
else
{
- rv = IFDPowerICC(rContext, IFD_POWER_DOWN, NULL, NULL);
+ IFDPowerICC(rContext, IFD_POWER_DOWN, NULL, NULL);
#ifdef DISABLE_AUTO_POWER_ON
rContext->powerState = POWER_STATE_UNPOWERED;
@@ -1092,7 +1092,7 @@
rContext->readerState->cardAtr, &dwAtrLen);
else
{
- rv = IFDPowerICC(rContext, IFD_POWER_DOWN, NULL, NULL);
+ IFDPowerICC(rContext, IFD_POWER_DOWN, NULL, NULL);
rv = IFDPowerICC(rContext, IFD_POWER_UP,
rContext->readerState->cardAtr, &dwAtrLen);
}
More information about the Pcsclite-cvs-commit
mailing list