fixed a wrong spelled word in comments
This commit is contained in:
parent
c2d4afc525
commit
9a375744a4
|
@ -863,7 +863,7 @@ void CheckClass::checkMemsetType(const Scope *start, const Token *tok, const Sco
|
|||
std::list<Variable>::const_iterator 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()) {
|
||||
const Token *tok1 = var->typeStartToken();
|
||||
|
||||
|
|
Loading…
Reference in New Issue