Fix compiler warning about empty for body
This commit is contained in:
parent
12c5980c01
commit
4686294d7e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue