[Bug 485750] New: x11-input-wacom-0.8.2-3.6: undefined code
https://bugzilla.novell.com/show_bug.cgi?id=485750 Summary: x11-input-wacom-0.8.2-3.6: 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: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- I just tried to compile Factory package x11-input-wacom-0.8.2-3.6 and the compiler said /wcmXCommand.c:847: warning: operation on 'sNum' may be undefined The source code is return priv->tvResolution[sNum++] | (priv->tvResolution[sNum] << 16); I have read the code and I agree with the compiler. There is no requirement that an expression is evaluated left to right. Suggest code rework. Perhaps return priv->tvResolution[sNum] | (priv->tvResolution[sNum + 1] << 16); might work. -- 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=485750
Mark Gray
https://bugzilla.novell.com/show_bug.cgi?id=485750
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=485750#c1
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=485750
User dcb314@hotmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=485750#c2
--- Comment #2 from David Binderman
Please report it upstream to Ping Cheng
. Thanks.
Done. -- 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