[Pcsclite-cvs-commit] r5542 - /trunk/Drivers/ccid/src/openct/proto-t1.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Thu Jan 20 09:50:01 UTC 2011


Author: rousseau
Date: Thu Jan 20 09:50:00 2011
New Revision: 5542

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5542
Log:
t1_xcv(): remove useless affectation

openct/proto-t1.c:675:3: warning: Value stored to 'rmax' is never read
                rmax = rmax_int;
                ^      ~~~~~~~~

Modified:
    trunk/Drivers/ccid/src/openct/proto-t1.c

Modified: trunk/Drivers/ccid/src/openct/proto-t1.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/openct/proto-t1.c?rev=5542&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/openct/proto-t1.c (original)
+++ trunk/Drivers/ccid/src/openct/proto-t1.c Thu Jan 20 09:50:00 2011
@@ -672,7 +672,6 @@
 		 * be the same on 64-bits architectures for example (iMac G5) */
 		rmax_int = rmax;
 		n = CCID_Receive(t1 -> lun, &rmax_int, block, NULL);
-		rmax = rmax_int;
 
 		if (n == IFD_PARITY_ERROR)
 			return -2;




More information about the Pcsclite-cvs-commit mailing list