Fixed Cppcheck self check warning; redundant check

This commit is contained in:
Daniel Marjamäki 2021-05-22 15:34:39 +02:00
parent 87554bed7a
commit 0db649c075
1 changed files with 1 additions and 1 deletions

View File

@ -620,7 +620,7 @@ void CheckBufferOverrun::bufferOverflow()
if (var) { if (var) {
if (var->isPointer()) if (var->isPointer())
continue; continue;
if (var->isArgument() && (var->isPointer() || var->isReference())) if (var->isArgument() && var->isReference())
continue; continue;
} }
} }