Fix compiler warning about empty for body

This commit is contained in:
Andy Maloney 2012-05-18 14:00:10 -04:00
parent 12c5980c01
commit 4686294d7e
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ void CheckOther::checkSizeofForPointerSize()
// Jump to the next sizeof token in the function and in the parameter
// This is to allow generic operations with sizeof
for (; tokVar && tokVar->str() != ")" && tokVar->str() != "," && tokVar->str() != "sizeof"; tokVar = tokVar->next());
for (; tokVar && tokVar->str() != ")" && tokVar->str() != "," && tokVar->str() != "sizeof"; tokVar = tokVar->next()) {}
// Now check for the sizeof usage. Once here, everything using sizeof(varid)
// looks suspicious