[MPlayer-cvslog] r32234 - trunk/configure

diego subversion at mplayerhq.hu
Tue Sep 14 12:16:31 CEST 2010


Author: diego
Date: Tue Sep 14 12:16:31 2010
New Revision: 32234

Log:
Initialize variable in vsscanf configure check; fixes the warning:
tmp.c:4: warning: 'ap' is used uninitialized in this function

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue Sep 14 12:11:46 2010	(r32233)
+++ trunk/configure	Tue Sep 14 12:16:31 2010	(r32234)
@@ -3909,7 +3909,7 @@ cat > $TMPC << EOF
 #define _ISOC99_SOURCE
 #include <stdarg.h>
 #include <stdio.h>
-int main(void) { va_list ap; vsscanf("foo", "bar", ap); return 0; }
+int main(void) { va_list ap = NULL; vsscanf("foo", "bar", ap); return 0; }
 EOF
 _vsscanf=no
 cc_check && _vsscanf=yes


More information about the MPlayer-cvslog mailing list