[MPlayer-cvslog] r32242 - trunk/configure

diego subversion at mplayerhq.hu
Tue Sep 14 15:21:05 CEST 2010


Author: diego
Date: Tue Sep 14 15:21:05 2010
New Revision: 32242

Log:
Initialize variable in giflib check; fixes the warning:
tmp.c:5: warning: 'gif.UserData' is used uninitialized in this function

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue Sep 14 15:12:11 2010	(r32241)
+++ trunk/configure	Tue Sep 14 15:21:05 2010	(r32242)
@@ -5208,7 +5208,7 @@ case "$_gif" in yes*)
 #include <stdio.h>
 #include <gif_lib.h>
 int main(void) {
-  GifFileType gif;
+  GifFileType gif = {.UserData = NULL};
   printf("UserData is at address %p\n", gif.UserData);
   return 0;
 }


More information about the MPlayer-cvslog mailing list