diff --git a/lib/checkother.h b/lib/checkother.h index f2726bfd4e3..aadb9eb5d11 100644 --- a/lib/checkother.h +++ b/lib/checkother.h @@ -253,6 +253,7 @@ class CPPCHECKLIB CheckOther : public Check { void redundantAssignmentError(const Token *tok1, const Token* tok2, const std::string& var, bool inconclusive); void redundantInitializationError(const Token *tok1, const Token* tok2, const std::string& var, bool inconclusive); void redundantAssignmentInSwitchError(const Token *tok1, const Token *tok2, const std::string &var); + void redundantAssignmentSameValueError(const Token *tok1, const Token *tok2, const std::string &var); void redundantCopyError(const Token *tok1, const Token* tok2, const std::string& var); void redundantBitwiseOperationInSwitchError(const Token *tok, const std::string &varname); void suspiciousCaseInSwitchError(const Token* tok, const std::string& operatorString);