diff --git a/lib/checkautovariables.h b/lib/checkautovariables.h index 23dbc611b..6f831c5c5 100644 --- a/lib/checkautovariables.h +++ b/lib/checkautovariables.h @@ -54,11 +54,13 @@ public: checkAutoVariables.assignFunctionArg(); checkAutoVariables.returnReference(); checkAutoVariables.checkVarLifetime(); + checkAutoVariables.autoVariables(); } void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE { - CheckAutoVariables checkAutoVariables(tokenizer, settings, errorLogger); - checkAutoVariables.autoVariables(); + (void)tokenizer; + (void)settings; + (void)errorLogger; } /** assign function argument */