https://bugs.winehq.org/show_bug.cgi?id=40136
Sergey Isakov isakov-sl@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl@bk.ru
--- Comment #2 from Sergey Isakov isakov-sl@bk.ru --- This is wrong programming style to check if enum type variable have a value out of enum range. For my mind the check must be at the function call and not inside the function.
Yes, the expression will never be < 0, this check is redundant.