[Bug 232303] New: m17n-lib-1.3.3.20060828-34: local variable used before set
https://bugzilla.novell.com/show_bug.cgi?id=232303 Summary: m17n-lib-1.3.3.20060828-34: local variable used before set Product: openSUSE 10.3 Version: unspecified Platform: All OS/Version: SuSE Other 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 m17n-lib-1.3.3.20060828-34 The compiler said m17n-gd.c:302: warning: 'color' is used uninitialized in this function The source code is int color, pixel; int r, g, b; pixel = RESOLVE_COLOR (img, color); I agree with the compiler. Suggest initialise local variable "color" 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=232303 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |mfabian@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=232303 ------- Comment #1 from mfabian@novell.com 2007-01-09 07:06 MST ------- Created an attachment (id=111997) --> (https://bugzilla.novell.com/attachment.cgi?id=111997&action=view) bugzilla-232303-local-variable-used-before-set.patch The attached patch is probably OK. -- 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=232303 ------- Comment #2 from mfabian@novell.com 2007-01-09 07:36 MST ------- Package submitted to STABLE and to the openSUSE build service. -- 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=232303 mfabian@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from mfabian@novell.com 2007-01-09 08:16 MST ------- Submitted upstream. Closing as FIXED. -- 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