We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21b6a41 commit 864e2ebCopy full SHA for 864e2eb
1 file changed
lib/vf_common.cpp
@@ -323,7 +323,7 @@ namespace ValueFlow
323
if (!tok->isTemplateArg())
324
value.setKnown();
325
setTokenValue(tok->next(), std::move(value), settings);
326
- } else if (Token::simpleMatch(tok, "= { } ;")) {
+ } else if (Token::simpleMatch(tok, "= { }")) {
327
const Token* lhs = tok->astOperand1();
328
if (lhs && lhs->valueType() && (lhs->valueType()->isIntegral() || lhs->valueType()->pointer > 0)) {
329
Value value(0);
0 commit comments