
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.