[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
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
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
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