Try to make Travis happy

This commit is contained in:
Daniel Marjamäki 2019-08-24 15:43:31 +02:00
parent 996daaee4e
commit 0dfda5eb4a
1 changed files with 1 additions and 1 deletions

View File

@ -550,7 +550,7 @@ bool CheckUninitVar::checkScopeForVariable(const Token *tok, const Variable& var
return ChildrenToVisit::none; return ChildrenToVisit::none;
if (child->str() == "," || child->str() == "{" || child->isConstOp()) if (child->str() == "," || child->str() == "{" || child->isConstOp())
return ChildrenToVisit::op1_and_op2; return ChildrenToVisit::op1_and_op2;
if (child->str() == "." && Token::Match(child->astOperand1(), "%varid", var.declarationId()) && child->astOperand2() && child->astOperand2()->str() == membervar) { if (child->str() == "." && Token::Match(child->astOperand1(), "%varid%", var.declarationId()) && child->astOperand2() && child->astOperand2()->str() == membervar) {
errorToken = child; errorToken = child;
return ChildrenToVisit::done; return ChildrenToVisit::done;
} }