simplify code

This commit is contained in:
Daniel Marjamäki 2019-07-24 11:40:51 +02:00
parent 10be2a1941
commit e0738c48d2
1 changed files with 1 additions and 1 deletions

View File

@ -5455,7 +5455,7 @@ static void valueFlowSafeFunctions(TokenList *tokenlist, SymbolDatabase *symbold
if (!arg.nameToken())
continue;
if (arg.nameToken()->valueType() && arg.nameToken()->valueType()->type == ValueType::Type::CONTAINER) {
if (arg.valueType() && arg.valueType()->type == ValueType::Type::CONTAINER) {
if (!safe)
continue;
std::list<ValueFlow::Value> argValues;