parent
adb3588b24
commit
2f5e585e59
|
@ -1246,7 +1246,7 @@ void CheckUnusedVar::checkFunctionVariableUsage()
|
||||||
}
|
}
|
||||||
|
|
||||||
// warn
|
// warn
|
||||||
if(!expr->variable() || !expr->variable()->isMaybeUnused())
|
if (!expr->variable() || !expr->variable()->isMaybeUnused())
|
||||||
unreadVariableError(tok, expr->expressionString(), false);
|
unreadVariableError(tok, expr->expressionString(), false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue