http://bugs.winehq.org/show_bug.cgi?id=33935
Bug #: 33935 Summary: graphics identical sub-expressions '!(types[i + 1] & PathPointTypeBezier)' Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus AssignedTo: wine-bugs@winehq.org ReportedBy: elton.wine@elton.tk Classification: Unclassified
On HEAD, dlls/gdiplus/graphics.c, line 1750:
http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/gdiplus/graphics.c#l17...
There are identical sub-expressions '!(types[i + 1] & PathPointTypeBezier)' to the left and to the right of the '||' operator.
Credits to PVS-Studio: http://www.viva64.com/en/b/0192/#ID0EYFAG
http://bugs.winehq.org/show_bug.cgi?id=33935
Elton Chung elton.wine@elton.tk changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|graphics identical |graphics.c: identical |sub-expressions '!(types[i |sub-expressions '!(types[i |+ 1] & |+ 1] & |PathPointTypeBezier)' |PathPointTypeBezier)'
http://bugs.winehq.org/show_bug.cgi?id=33935
--- Comment #1 from Vincent Povirk madewokherd@gmail.com 2013-07-02 10:50:48 CDT --- One of them should probably be types[i + 2]
http://bugs.winehq.org/show_bug.cgi?id=33935
--- Comment #2 from Elton Chung elton.wine@elton.tk 2013-07-07 03:36:10 CDT --- Patch #97201:
http://source.winehq.org/patches/data/97201
http://bugs.winehq.org/show_bug.cgi?id=33935
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch URL| |http://www.viva64.com/en/b/ | |0192/#ID0EYFAG
https://bugs.winehq.org/show_bug.cgi?id=33935
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #3 from super_man@post.com --- I think this bug is actually fixed in source code.
wine 1.7.51
https://bugs.winehq.org/show_bug.cgi?id=33935
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |f1ed09fdd961cd3bde36e2cfd96 | |cadcdd56d1083 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to super_man from comment #3)
I think this bug is actually fixed in source code.
wine 1.7.51
Indeed.
https://bugs.winehq.org/show_bug.cgi?id=33935
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.52.
https://bugs.winehq.org/show_bug.cgi?id=33935
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Version|unspecified |1.6-rc4