mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-25 00:59:19 -06:00
COMP: Changed while(1) to for(;;) to avoid warning about constant control expression.
This commit is contained in:
@@ -174,7 +174,7 @@ void cmCursesLongMessageForm::HandleInput()
|
||||
|
||||
char debugMessage[128];
|
||||
|
||||
while(1)
|
||||
for(;;)
|
||||
{
|
||||
int key = getch();
|
||||
|
||||
|
||||
@@ -848,7 +848,7 @@ void cmCursesMainForm::HandleInput()
|
||||
|
||||
char debugMessage[128];
|
||||
|
||||
while(1)
|
||||
for(;;)
|
||||
{
|
||||
this->UpdateStatusBar();
|
||||
this->PrintKeys();
|
||||
|
||||
Reference in New Issue
Block a user