Skip to content

Commit 1352ad4

Browse files
Update checkleakautovar.cpp
1 parent 8ec5842 commit 1352ad4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/checkleakautovar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ bool CheckLeakAutoVar::checkScope(const Token * const startToken,
582582
astOperand2AfterCommas,
583583
astOperand2AfterCommas->hasKnownValue(ValueFlow::Value::ValueType::SYMBOLIC) ? astOperand2AfterCommas->getKnownValue(ValueFlow::Value::ValueType::SYMBOLIC)->tokvalue : nullptr
584584
};
585-
for (auto compTok : compToks) {
585+
for (const Token* compTok : compToks) {
586586
if (!compTok)
587587
continue;
588588
visitAstNodes(compTok, [&](const Token* tok3) {

0 commit comments

Comments
 (0)