[Pcsclite-cvs-commit] r5530 - /trunk/PCSC/src/readerfactory.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu Jan 20 09:10:04 UTC 2011
Author: rousseau
Date: Thu Jan 20 09:09:49 2011
New Revision: 5530
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5530
Log:
RFAddReaderHandle(): return the error code if any
src/readerfactory.c:1116:3: warning: Value stored to 'rv' is never read
rv = SCARD_E_NO_MEMORY;
^ ~~~~~~~~~~~~~~~~~
src/readerfactory.c:1103:3: warning: Value stored to 'rv' is never read
rv = SCARD_E_NO_MEMORY;
^ ~~~~~~~~~~~~~~~~~
src/readerfactory.c:1095:3: warning: Value stored to 'rv' is never read
rv = SCARD_E_NO_MEMORY;
^ ~~~~~~~~~~~~~~~~~
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=5530&op=diff
==============================================================================
--- trunk/PCSC/src/readerfactory.c (original)
+++ trunk/PCSC/src/readerfactory.c Thu Jan 20 09:09:49 2011
@@ -1117,7 +1117,7 @@
}
end:
(void)pthread_mutex_unlock(&rContext->handlesList_lock);
- return SCARD_S_SUCCESS;
+ return rv;
}
LONG RFRemoveReaderHandle(READER_CONTEXT * rContext, SCARDHANDLE hCard)
More information about the Pcsclite-cvs-commit
mailing list