[Bug 205451] New: sane-1.0.18-8: local variable used before set
https://bugzilla.novell.com/show_bug.cgi?id=205451 Summary: sane-1.0.18-8: local variable used before set Product: openSUSE 10.2 Version: Alpha 4 Platform: All OS/Version: SuSE Linux 10.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de I just tried to compile package sane-1.0.18-8 with the Intel C compiler. The compiler said teco2.c(1530): warning #592: variable "size" is used before its value is set The source code is size_t size; MKSCSI_REQUEST_SENSE (cdb, size); Suggest initialise local variable "size" before first use. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=205451 cthiel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |jsmeix@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=205451 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=205451 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #1 from jsmeix@novell.com 2006-09-18 07:50 MST ------- Made the compiler happy by simply setting in teco2.c size_t size = 0; but see bug #202243 (i.e. I need to check with backend author). I set it to fixed now (and reopen it, if the fix is not o.k.). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com