Refactoring: Use static for local function getMinMaxValues

This commit is contained in:
Daniel Marjamäki 2022-12-17 21:21:18 +01:00
parent c736d60642
commit 7799f820a3
1 changed files with 1 additions and 1 deletions

View File

@ -8539,7 +8539,7 @@ static void valueFlowDynamicBufferSize(TokenList* tokenlist, SymbolDatabase* sym
} }
} }
bool getMinMaxValues(const ValueType *vt, const cppcheck::Platform &platform, MathLib::bigint *minValue, MathLib::bigint *maxValue) static bool getMinMaxValues(const ValueType *vt, const cppcheck::Platform &platform, MathLib::bigint *minValue, MathLib::bigint *maxValue)
{ {
if (!vt || !vt->isIntegral() || vt->pointer) if (!vt || !vt->isIntegral() || vt->pointer)
return false; return false;