Bugzilla – Bug 132483
libwmf-0.2.8.2-95: 2 * local variable used before set
Last modified: 2006-01-26 18:07:48 UTC
Hello there, I just tried to compile package libwmf-0.2.8.2-95 with the GNU C compiler version 4.1. It said 1. stream.c:288: warning: "max" is used uninitialized in this function The source code is defstr->max = max; I have had a look at the code, and I agree with the compiler. Suggest initialise local variable "max" before first use. 2. gd.c:771: warning: "p" is used uninitialized in this function The source code is if (p != gdImageGetTransparent (im->tile)) I have had a look at the code, and I agree with the compiler. Suggest initialise local variable "p" before first use. BTW, the e-mail address of the author doesn't seem to work [ Caolan.McNamara@ul.ie ]
fixed for 10.1