[Bug 397961] New: wrong warning from ycpc -c
https://bugzilla.novell.com/show_bug.cgi?id=397961 Summary: wrong warning from ycpc -c Product: openSUSE 11.0 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: mvidner@novell.com ReportedBy: aschnell@novell.com QAContact: jsrain@novell.com Found By: Development Compiling this code with ycpc -c string x = find(string x, [ "a", "b" ], { return x == "b"; }); gives this warning t.ycp:2 [Parser] Warning: Identifier 'x' might be used uninitialized Looks as if ycpc confuses the two variables 'x'. Changing the code to string y = find(string x, [ "a", "b" ], { return x == "b"; }); removes the warning. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=397961 Martin Vidner <mvidner@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.
https://bugzilla.novell.com/show_bug.cgi?id=397961 Jiri Srain <jsrain@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- 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.
participants (1)
-
bugzilla_noreply@novell.com