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