https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71325
Bug ID: 71325 Summary: intl/dcigettext.c:588]: (style) Redundant condition Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- intl/dcigettext.c:588]: (style) Redundant condition: If 'EXPR == ':'', the comparison 'EXPR != 0' is always true. Source code is while (categoryvalue[0] != '\0' && categoryvalue[0] == ':') Suggest new code while (categoryvalue[0] == ':')