Fixed compiler warnings
This commit is contained in:
parent
9d10f4f572
commit
772b44d11a
|
@ -751,7 +751,7 @@ static void followVariableExpressionError(const Token *tok1, const Token *tok2,
|
|||
errors->push_back(item);
|
||||
}
|
||||
|
||||
const Token* followReferences(const Token* tok, ErrorPath* errors, int depth = 20)
|
||||
static const Token* followReferences(const Token* tok, ErrorPath* errors, int depth = 20)
|
||||
{
|
||||
if (!tok)
|
||||
return nullptr;
|
||||
|
|
|
@ -2453,15 +2453,6 @@ static void valueFlowReverse(Token* tok,
|
|||
}
|
||||
}
|
||||
|
||||
static void valueFlowReverse(Token* tok,
|
||||
const Token* const varToken,
|
||||
const std::list<ValueFlow::Value>& values,
|
||||
TokenList* tokenlist,
|
||||
const Settings* settings)
|
||||
{
|
||||
valueFlowReverse(tok, nullptr, varToken, values, tokenlist, settings);
|
||||
}
|
||||
|
||||
std::string lifetimeType(const Token *tok, const ValueFlow::Value *val)
|
||||
{
|
||||
std::string result;
|
||||
|
|
Loading…
Reference in New Issue