[SmartcardServices-Changes] [95] trunk/SmartCardServices/src/PCSC/readerfactory.c
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jan 11 05:21:46 PST 2010
Revision: 95
http://trac.macosforge.org/projects/smartcardservices/changeset/95
Author: ludovic.rousseau at gmail.com
Date: 2010-01-11 05:21:43 -0800 (Mon, 11 Jan 2010)
Log Message:
-----------
fix compilation warning
readerfactory.c:1552: warning: 'value_ptr' is used uninitialized in this
function
Modified Paths:
--------------
trunk/SmartCardServices/src/PCSC/readerfactory.c
Modified: trunk/SmartCardServices/src/PCSC/readerfactory.c
===================================================================
--- trunk/SmartCardServices/src/PCSC/readerfactory.c 2010-01-07 15:38:46 UTC (rev 94)
+++ trunk/SmartCardServices/src/PCSC/readerfactory.c 2010-01-11 13:21:43 UTC (rev 95)
@@ -1548,7 +1548,7 @@
Log3(PCSC_LOG_CRITICAL, "Can't signal pcscd (pid=%d): %s",
pid, strerror(errno));
}
- void *value_ptr;
+ void *value_ptr = NULL;
pthread_exit(value_ptr);
return SCARD_E_SERVICE_STOPPED;
#else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/smartcardservices-changes/attachments/20100111/f65b2185/attachment.html>
More information about the SmartcardServices-Changes
mailing list