Use proper tokenizer variable

This commit is contained in:
Alexander Mai 2016-07-10 22:24:28 +02:00
parent f869f7ebde
commit e495bfb960
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public:
void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) {
CheckBufferOverrun checkBufferOverrun(tokenizer, settings, errorLogger);
checkBufferOverrun.checkGlobalAndLocalVariable();
if (_tokenizer && _tokenizer->isMaxTime())
if (tokenizer && tokenizer->isMaxTime())
return;
checkBufferOverrun.checkStructVariable();
checkBufferOverrun.checkBufferAllocatedWithStrlen();