Bugzilla – Bug 141152
pilot-link-0.12.0_pre4-6: 2 * local variable set before used
Last modified: 2006-11-07 16:04:30 UTC
I just tried to compile package pilot-link-0.12.0_pre4-6 with the Intel C compiler It said dlp.c(2279): warning #592: variable "res" is used before its value is set The source code is LOG((PI_DBG_DLP, PI_DBG_LVL_INFO, "DLP ReadFeature FtrGet error 0x%8.8lX\n", res)); Suggest initialise local variable "res" before first use. I also tried out the GNU C compiler. It said read-screenshot.c:105: warning: "f" is used uninitialized in this function Suggest initialise local variable "f" before first use. I also had a look at the project website [ http://bugs.pilot-link.org ]. Their current version is 1.8, so I guess they are not interested in bug reports for 0.12.0. Is it time to upgrade pilot-link to a newer version ?
Hi David, where did you find the version 1.8 of pilot link?? The current version is 0.12.0_pre4.
fixed uninitialized variable
(In reply to comment #2) > fixed uninitialized variable Strange. I just checked Suse Linux 10.2 Beta 1 and both parts of this bug report still appear to exist.
fixed and submited to stable