[Pcsclite-cvs-commit] r5531 - /trunk/PCSC/src/readerfactory.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Thu Jan 20 09:15:56 UTC 2011


Author: rousseau
Date: Thu Jan 20 09:15:51 2011
New Revision: 5531

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5531
Log:
RFAddReader(): remove unused affectation

src/readerfactory.c:344:4: warning: Value stored to 'rv' is never read
                        rv = RFRemoveReader(readerName, port);
                        ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Modified:
    trunk/PCSC/src/readerfactory.c

Modified: trunk/PCSC/src/readerfactory.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/readerfactory.c?rev=5531&op=diff
==============================================================================
--- trunk/PCSC/src/readerfactory.c (original)
+++ trunk/PCSC/src/readerfactory.c Thu Jan 20 09:15:51 2011
@@ -341,7 +341,7 @@
 		if (i == PCSCLITE_MAX_READERS_CONTEXTS)
 		{
 			/* No more slot left return */
-			rv = RFRemoveReader(readerName, port);
+			RFRemoveReader(readerName, port);
 			return SCARD_E_NO_MEMORY;
 		}
 




More information about the Pcsclite-cvs-commit mailing list