[Pcsclite-cvs-commit] r6738 - trunk/Drivers/ccid/src
ludovic.rousseau at free.fr
ludovic.rousseau at free.fr
Fri Aug 23 08:43:37 UTC 2013
Author: rousseau
Date: 2013-08-23 08:43:37 +0000 (Fri, 23 Aug 2013)
New Revision: 6738
Modified:
trunk/Drivers/ccid/src/commands.c
Log:
Silence a "clang --analyze" warning
commands.c:1936:12: warning: The right operand of '==' is a garbage value
if (0x10 == pcbuffer[0])
^ ~~~~~~~~~~~
Modified: trunk/Drivers/ccid/src/commands.c
===================================================================
--- trunk/Drivers/ccid/src/commands.c 2013-08-23 08:41:11 UTC (rev 6737)
+++ trunk/Drivers/ccid/src/commands.c 2013-08-23 08:43:37 UTC (rev 6738)
@@ -1929,6 +1929,7 @@
return return_value;
/* wait for ready */
+ pcbuffer[0] = 0;
return_value = CmdGetSlotStatus(reader_index, pcbuffer);
if (return_value != IFD_SUCCESS)
return return_value;
More information about the Pcsclite-cvs-commit
mailing list