fixed gcc warning

This commit is contained in:
Daniel Marjamäki 2013-03-04 19:28:27 +01:00
parent 78a3a58a5a
commit b3a2b69120
1 changed files with 1 additions and 2 deletions

View File

@ -854,12 +854,11 @@ void CheckClass::noMemset()
if (var->isPointer())
derefs--;
if (var->isArray())
derefs -= var->dimensions().size();
derefs -= (int)var->dimensions().size();
if (derefs == 0)
type = var->type();
}
}
// No type defined => The tokens didn't match