Merge pull request #547 from Dmitry-Me/misleadingComment

Misleading comment
This commit is contained in:
Daniel Marjamäki 2015-03-14 16:12:56 +01:00
commit e1b9e166c2
1 changed files with 1 additions and 1 deletions

View File

@ -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