diff --git a/lib/checkbufferoverrun.cpp b/lib/checkbufferoverrun.cpp index a29b2dfb1..f0f3cc40c 100644 --- a/lib/checkbufferoverrun.cpp +++ b/lib/checkbufferoverrun.cpp @@ -620,7 +620,7 @@ void CheckBufferOverrun::bufferOverflow() if (var) { if (var->isPointer()) continue; - if (var->isArgument() && (var->isPointer() || var->isReference())) + if (var->isArgument() && var->isReference()) continue; } }