Avoid Visual Studio warnings about constant expressions

This commit is contained in:
firewave 2010-06-24 04:24:25 +02:00
parent 74e48d4bb1
commit 6fd4ba6e4f
1 changed files with 2 additions and 2 deletions

View File

@ -1721,7 +1721,7 @@ bool CheckClass::sameFunc(int nest, const Token *firstEnd, const Token *secondEn
bool firstDone = false;
bool secondDone = false;
while (true)
for ( ; ; )
{
firstDone = false;
secondDone = false;
@ -1750,7 +1750,7 @@ bool CheckClass::sameFunc(int nest, const Token *firstEnd, const Token *secondEn
firstStart = firstEnd->link()->next();
secondStart = secondEnd->link()->next();
while (true)
for ( ; ; )
{
firstDone = false;
secondDone = false;