In the ECL lexer, the IsSpaceEquiv function generates warnings from code checkers as the expression contains redundant clauses. The first subclause (state <= SCE_ECL_COMMENTDOC) covers all the later ones.
return (state <= SCE_ECL_COMMENTDOC) || // including SCE_ECL_DEFAULT, SCE_ECL_COMMENT, SCE_ECL_COMMENTLINE (state == SCE_ECL_COMMENTLINEDOC) || (state == SCE_ECL_COMMENTDOCKEYWORD) || (state == SCE_ECL_COMMENTDOCKEYWORDERROR)
Unsure of what the correct fix would be.
Log in to post a comment.