[Bug 225616] New: fontforge-20061014-15: local variable used before set
https://bugzilla.novell.com/show_bug.cgi?id=225616 Summary: fontforge-20061014-15: local variable used before set Product: openSUSE 10.2 Version: RC 5 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 build the package fontforge-20061014-15 I got the following warning message from the compiler. parsepfa.c:1422: warning: 'ch' is used uninitialized in this function The source code is while ( ch!=EOF && ch!='\n' && ch!='\r' ) I have read the source code and I think that even though there are goto statements in the code, there appear to be paths through the code where ch is uninitialised. Suggest initialise local variable "ch" at declaration. -- 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=225616 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |mfabian@novell.com |screening@forge.provo.novell| |.com | OS/Version|SuSE Linux 10.1 |All -- 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=225616 mfabian@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=225616 ------- Comment #1 from mfabian@novell.com 2006-12-19 12:11 MST ------- Created an attachment (id=110399) --> (https://bugzilla.novell.com/attachment.cgi?id=110399&action=view) bugzilla-225616-local-variable-used-before-set.patch The patch I used. -- 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=225616 ------- Comment #2 from mfabian@novell.com 2006-12-19 12:11 MST ------- Fixed package submitted to STABLE and 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=225616 mfabian@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #3 from mfabian@novell.com 2006-12-19 16:58 MST ------- Reported 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