comparison configure @ 32158:ec7786b93e52

Initialize variable in giflib check; fixes the warning: tmp.c:5: warning: 'gif.UserData' is used uninitialized in this function
author diego
date Tue, 14 Sep 2010 13:21:05 +0000
parents 68914bed3a8f
children f74d42014f51
comparison
equal deleted inserted replaced
32157:aae5b14d959a 32158:ec7786b93e52
5206 5206
5207 cat > $TMPC << EOF 5207 cat > $TMPC << EOF
5208 #include <stdio.h> 5208 #include <stdio.h>
5209 #include <gif_lib.h> 5209 #include <gif_lib.h>
5210 int main(void) { 5210 int main(void) {
5211 GifFileType gif; 5211 GifFileType gif = {.UserData = NULL};
5212 printf("UserData is at address %p\n", gif.UserData); 5212 printf("UserData is at address %p\n", gif.UserData);
5213 return 0; 5213 return 0;
5214 } 5214 }
5215 EOF 5215 EOF
5216 if cc_check "$_ld_gif" ; then 5216 if cc_check "$_ld_gif" ; then