Merge pull request #547 from Dmitry-Me/misleadingComment
Misleading comment
This commit is contained in:
commit
e1b9e166c2
|
@ -1090,7 +1090,7 @@ void CheckBufferOverrun::checkGlobalAndLocalVariable()
|
|||
if (!var || !var->isPointer() || var->typeStartToken()->next() != var->typeEndToken())
|
||||
continue;
|
||||
|
||||
// get name of variable
|
||||
// get type of variable
|
||||
type = var->typeStartToken()->str();
|
||||
|
||||
// malloc() gets count of bytes and not count of
|
||||
|
|
Loading…
Reference in New Issue