[Pcsclite-cvs-commit] r5525 - /trunk/PCSC/src/pcscdaemon.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Tue Jan 18 16:02:32 UTC 2011


Author: rousseau
Date: Tue Jan 18 16:02:25 2011
New Revision: 5525

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5525
Log:
Remove useless code

src/pcscdaemon.c:85:2: warning: Value stored to 'rv' is never read
        rv = 0;
        ^    ~
src/pcscdaemon.c:175:2: warning: Value stored to 'rv' is never read
        rv = 0;
        ^    ~

Modified:
    trunk/PCSC/src/pcscdaemon.c

Modified: trunk/PCSC/src/pcscdaemon.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/pcscdaemon.c?rev=5525&op=diff
==============================================================================
--- trunk/PCSC/src/pcscdaemon.c (original)
+++ trunk/PCSC/src/pcscdaemon.c Tue Jan 18 16:02:25 2011
@@ -81,8 +81,6 @@
 	int rsp;
 	LONG rv;
 	uint32_t dwClientID;	/* Connection ID used to reference the Client */
-
-	rv = 0;
 
 	while (TRUE)
 	{
@@ -172,7 +170,6 @@
 #endif
 #define OPT_STRING "c:fdhvaeCHt:r:s:x"
 
-	rv = 0;
 	newReaderConfig = NULL;
 	setToForeground = FALSE;
 	HotPlug = FALSE;




More information about the Pcsclite-cvs-commit mailing list