[Pcsclite-cvs-commit] r6552 - /trunk/PCSC/src/eventhandler.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Wed Mar 6 13:50:00 UTC 2013


Author: rousseau
Date: Wed Mar  6 13:49:59 2013
New Revision: 6552

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6552
Log:
cppcheck: Unused variable: dwAtrLen

dwAtrLen is used only if DISABLE_AUTO_POWER_ON is not set (default case)

Modified:
    trunk/PCSC/src/eventhandler.c

Modified: trunk/PCSC/src/eventhandler.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/eventhandler.c?rev=6552&op=diff
==============================================================================
--- trunk/PCSC/src/eventhandler.c (original)
+++ trunk/PCSC/src/eventhandler.c Wed Mar  6 13:49:59 2013
@@ -222,7 +222,9 @@
 	uint32_t readerState;
 	int32_t readerSharing;
 	DWORD dwCurrentState;
+#ifndef DISABLE_AUTO_POWER_ON
 	DWORD dwAtrLen;
+#endif
 
 	/*
 	 * Zero out everything




More information about the Pcsclite-cvs-commit mailing list