Fixed a typo in a comment. No functional changes.

This commit is contained in:
orbitcowboy 2014-09-30 14:54:59 +02:00
parent fbc6323a9b
commit f36aaae732
1 changed files with 3 additions and 3 deletions

View File

@ -934,7 +934,7 @@ void CheckBufferOverrun::checkScope(const Token *tok, const ArrayInfo &arrayInfo
} }
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// Checking member variables of structs.. // Checking member variables of structs.
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
bool CheckBufferOverrun::isArrayOfStruct(const Token* tok, int &position) bool CheckBufferOverrun::isArrayOfStruct(const Token* tok, int &position)
{ {
@ -1130,7 +1130,7 @@ void CheckBufferOverrun::checkGlobalAndLocalVariable()
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// Checking member variables of structs.. // Checking member variables of structs.
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
void CheckBufferOverrun::checkStructVariable() void CheckBufferOverrun::checkStructVariable()
@ -1733,7 +1733,7 @@ void CheckBufferOverrun::arrayIndexThenCheck()
if (tok->type() == Token::eComparisonOp) if (tok->type() == Token::eComparisonOp)
tok = tok->tokAt(2); tok = tok->tokAt(2);
// skip close parenthesis // skip close parentheses
if (tok->str() == ")") if (tok->str() == ")")
tok = tok->next(); tok = tok->next();