https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71324
Bug ID: 71324 Summary: liboffloadmic/runtime/offload_env.cpp:316]: (style) Redundant condition Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- liboffloadmic/runtime/offload_env.cpp:316]: (style) Redundant condition: If 'EXPR == ' '', the comparison 'EXPR != 0' is always true. Source code is while (*c != 0 && *c == ' ') { Suggest better code while (*c == ' ') {