fixed gcc warning
This commit is contained in:
parent
78a3a58a5a
commit
b3a2b69120
|
@ -854,12 +854,11 @@ void CheckClass::noMemset()
|
||||||
if (var->isPointer())
|
if (var->isPointer())
|
||||||
derefs--;
|
derefs--;
|
||||||
if (var->isArray())
|
if (var->isArray())
|
||||||
derefs -= var->dimensions().size();
|
derefs -= (int)var->dimensions().size();
|
||||||
|
|
||||||
if (derefs == 0)
|
if (derefs == 0)
|
||||||
type = var->type();
|
type = var->type();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// No type defined => The tokens didn't match
|
// No type defined => The tokens didn't match
|
||||||
|
|
Loading…
Reference in New Issue