Avoid Visual Studio warnings about constant expressions
This commit is contained in:
parent
74e48d4bb1
commit
6fd4ba6e4f
|
@ -1721,7 +1721,7 @@ bool CheckClass::sameFunc(int nest, const Token *firstEnd, const Token *secondEn
|
||||||
bool firstDone = false;
|
bool firstDone = false;
|
||||||
bool secondDone = false;
|
bool secondDone = false;
|
||||||
|
|
||||||
while (true)
|
for ( ; ; )
|
||||||
{
|
{
|
||||||
firstDone = false;
|
firstDone = false;
|
||||||
secondDone = false;
|
secondDone = false;
|
||||||
|
@ -1750,7 +1750,7 @@ bool CheckClass::sameFunc(int nest, const Token *firstEnd, const Token *secondEn
|
||||||
firstStart = firstEnd->link()->next();
|
firstStart = firstEnd->link()->next();
|
||||||
secondStart = secondEnd->link()->next();
|
secondStart = secondEnd->link()->next();
|
||||||
|
|
||||||
while (true)
|
for ( ; ; )
|
||||||
{
|
{
|
||||||
firstDone = false;
|
firstDone = false;
|
||||||
secondDone = false;
|
secondDone = false;
|
||||||
|
|
Loading…
Reference in New Issue