[Bug 483402] New: sox-14.2.0-1.18: undefined code
https://bugzilla.novell.com/show_bug.cgi?id=483402 Summary: sox-14.2.0-1.18: undefined code Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just tried to compile Factory package sox-14.2.0-1.18 and the compiler said mp3.c:487: warning: operation on 'written2' may be undefined The source code is else if (lsx_writebuf(ft, mp3buffer, written2 = written) < written2){ I have read the code and I agree with the compiler. There is no requirement that the LHS of an expression is evaluated before or after the RHS of an expression. Suggest code rework. -- 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=483402 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |prusnak@novell.com |ovo.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.
https://bugzilla.novell.com/show_bug.cgi?id=483402 User prusnak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=483402#c1 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED URL| |https://sourceforge.net/tra | |cker2/index.php?func=detail | |&aid=2675504&group_id=10706 | |&atid=110706 Resolution| |UPSTREAM --- Comment #1 from Pavol Rusnak <prusnak@novell.com> 2009-03-09 09:35:01 MST --- Reported upstream - https://sourceforge.net/tracker2/index.php?func=detail&aid=2675504&group_id=10706&atid=110706 Btw . Which compiler is that ? -- 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=483402 User dcb314@hotmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=483402#c2 --- Comment #2 from David Binderman <dcb314@hotmail.com> 2009-03-10 03:02:00 MST --- (In reply to comment #1)
Reported upstream - https://sourceforge.net/tracker2/index.php?func=detail&aid=2675504&group_id=10706&atid=110706
Thanks.
Btw . Which compiler is that ?
gcc with flag -Wall. -- 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