[Pcsclite-cvs-commit] r2106 - trunk/HandlerTest/Host

Ludovic Rousseau rousseau at costa.debian.org
Tue Jul 11 16:02:12 UTC 2006


Author: rousseau
Date: 2006-07-11 16:02:12 +0000 (Tue, 11 Jul 2006)
New Revision: 2106

Modified:
   trunk/HandlerTest/Host/handler_test.c
Log:
initialise test_rv to avoid a warning: ?\226?\128?\152test_rv?\226?\128?\153 may be used
uninitialized in this function


Modified: trunk/HandlerTest/Host/handler_test.c
===================================================================
--- trunk/HandlerTest/Host/handler_test.c	2006-07-11 16:00:54 UTC (rev 2105)
+++ trunk/HandlerTest/Host/handler_test.c	2006-07-11 16:02:12 UTC (rev 2106)
@@ -266,7 +266,7 @@
 
 int handler_test(int lun, int channel, char device_name[])
 {
-	int rv, test_rv;
+	int rv, test_rv = 0;
 	UCHAR atr[MAX_ATR_SIZE];
 	DWORD atrlength;
 




More information about the Pcsclite-cvs-commit mailing list