From 0a71b52a8778b7bac2d125ec157e6e3b100dff1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 11 Feb 2021 19:27:36 +0100 Subject: [PATCH] Remove unused function --- lib/valueflow.cpp | 5 ----- 1 file changed, 5 deletions(-) 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() == "(" &&