diff --git a/lib/checkunusedvar.cpp b/lib/checkunusedvar.cpp index e593636d8..2c1d17b6c 100644 --- a/lib/checkunusedvar.cpp +++ b/lib/checkunusedvar.cpp @@ -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); } }