diff --git a/lib/valueflow.cpp b/lib/valueflow.cpp index bb747eab5..e97f1895a 100644 --- a/lib/valueflow.cpp +++ b/lib/valueflow.cpp @@ -4013,11 +4013,6 @@ static std::list truncateValues(std::list va return values; } -static bool isLiteralNumber(const Token *tok, bool cpp) -{ - return tok->isNumber() || tok->isEnumerator() || tok->str() == "NULL" || (cpp && Token::Match(tok, "false|true|nullptr")); -} - static bool isVariableInit(const Token *tok) { return tok->str() == "(" &&