GNOME Bugzilla – Bug 734467
Incorrect comparison of Enum.
Last modified: 2014-10-06 04:53:54 UTC
Created attachment 282881 [details] [review] Correcting Usage of Enum. An Enum is checked as bool like: if (ENUM) In this case, many tools report error of "Misuse of Enum as boolean" It should be checked like: if (ENUM !=ZERO_VALUE) Also, there is one missing break statement in the patch. Please apply attached patch.
Duplicate of 737403 *** This bug has been marked as a duplicate of bug 737403 ***