Size computation code not required outside this translation unit

This commit is contained in:
Dmitry-Me 2017-10-19 19:01:41 +03:00
parent 606e28a3c5
commit 5040491ee6
1 changed files with 1 additions and 1 deletions

View File

@ -638,7 +638,7 @@ static void setTokenValue(Token* tok, const ValueFlow::Value &value, const Setti
} }
} }
unsigned int getSizeOfType(const Token *typeTok, const Settings *settings) static unsigned int getSizeOfType(const Token *typeTok, const Settings *settings)
{ {
const std::string &typeStr = typeTok->str(); const std::string &typeStr = typeTok->str();
if (typeStr == "char") if (typeStr == "char")