simplify code
This commit is contained in:
parent
10be2a1941
commit
e0738c48d2
|
@ -5455,7 +5455,7 @@ static void valueFlowSafeFunctions(TokenList *tokenlist, SymbolDatabase *symbold
|
||||||
if (!arg.nameToken())
|
if (!arg.nameToken())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (arg.nameToken()->valueType() && arg.nameToken()->valueType()->type == ValueType::Type::CONTAINER) {
|
if (arg.valueType() && arg.valueType()->type == ValueType::Type::CONTAINER) {
|
||||||
if (!safe)
|
if (!safe)
|
||||||
continue;
|
continue;
|
||||||
std::list<ValueFlow::Value> argValues;
|
std::list<ValueFlow::Value> argValues;
|
||||||
|
|
Loading…
Reference in New Issue