fixed a wrong spelled word in comments

This commit is contained in:
Ettl Martin 2012-09-07 11:34:58 +02:00
parent c2d4afc525
commit 9a375744a4
1 changed files with 1 additions and 1 deletions

View File

@ -863,7 +863,7 @@ void CheckClass::checkMemsetType(const Scope *start, const Token *tok, const Sco
std::list<Variable>::const_iterator var; std::list<Variable>::const_iterator var;
for (var = type->varlist.begin(); var != type->varlist.end(); ++var) { for (var = type->varlist.begin(); var != type->varlist.end(); ++var) {
// don't warn if variable static or const, pointer or referece // don't warn if variable static or const, pointer or reference
if (!var->isStatic() && !var->isConst() && !var->isPointer() && !var->isReference()) { if (!var->isStatic() && !var->isConst() && !var->isPointer() && !var->isReference()) {
const Token *tok1 = var->typeStartToken(); const Token *tok1 = var->typeStartToken();