https://bugs.winehq.org/show_bug.cgi?id=51293
Bug ID: 51293 Summary: Assert with side effect in dlls/glu32/sweep.c Product: Wine Version: 6.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: glu32 Assignee: wine-bugs@winehq.org Reporter: mikrutrafal@protonmail.com Distribution: ---
https://github.com/wine-mirror/wine/blob/e909986e6ea5ecd49b2b847f321ad89b2ae...
``` assert( ++fixedEdges == 1 ); ```
Assert shouldn't anything than checking if expression is false/true, but here add value to fixedEdges variable
https://bugs.winehq.org/show_bug.cgi?id=51293
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- That variable is only used as part of the assert check.
https://bugs.winehq.org/show_bug.cgi?id=51293
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Status|RESOLVED |CLOSED
--- Comment #2 from André H. nerv@dawncrow.de --- closing invalid