Fixed Cppcheck self check warning; redundant check
This commit is contained in:
parent
87554bed7a
commit
0db649c075
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue