[Pcsclite-cvs-commit] r5825 - /trunk/PCSC/src/testpcsc.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Tue Jul 5 20:39:12 UTC 2011


Author: rousseau
Date: Tue Jul  5 20:39:12 2011
New Revision: 5825

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5825
Log:
Initialize pioRecvPci

Make coverity scan happy

Modified:
    trunk/PCSC/src/testpcsc.c

Modified: trunk/PCSC/src/testpcsc.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/testpcsc.c?rev=5825&op=diff
==============================================================================
--- trunk/PCSC/src/testpcsc.c (original)
+++ trunk/PCSC/src/testpcsc.c Tue Jul  5 20:39:12 2011
@@ -219,13 +219,13 @@
 	switch(dwPref)
 	{
 		case SCARD_PROTOCOL_T0:
-			pioSendPci = SCARD_PCI_T0;
+			pioSendPci = pioRecvPci = SCARD_PCI_T0;
 			break;
 		case SCARD_PROTOCOL_T1:
-			pioSendPci = SCARD_PCI_T1;
+			pioSendPci = pioRecvPci =SCARD_PCI_T1;
 			break;
 		case SCARD_PROTOCOL_RAW:
-			pioSendPci = SCARD_PCI_RAW;
+			pioSendPci = pioRecvPci =SCARD_PCI_RAW;
 			break;
 		default:
 			printf("Unknown protocol\n");




More information about the Pcsclite-cvs-commit mailing list