summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesLongMessageForm.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-05-03 18:57:32 (GMT)
committerBrad King <brad.king@kitware.com>2005-05-03 18:57:32 (GMT)
commitc7a75e92c992c9750f677177f550a32da6725ff8 (patch)
tree430887651127ce5f54184fe29a30522bfce2af8e /Source/CursesDialog/cmCursesLongMessageForm.cxx
parent7b7f1db00ae86209e30e4a49fddfbf89a733cb86 (diff)
downloadCMake-c7a75e92c992c9750f677177f550a32da6725ff8.zip
CMake-c7a75e92c992c9750f677177f550a32da6725ff8.tar.gz
CMake-c7a75e92c992c9750f677177f550a32da6725ff8.tar.bz2
COMP: Changed while(1) to for(;;) to avoid warning about constant control expression.
Diffstat (limited to 'Source/CursesDialog/cmCursesLongMessageForm.cxx')
-rw-r--r--Source/CursesDialog/cmCursesLongMessageForm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesLongMessageForm.cxx b/Source/CursesDialog/cmCursesLongMessageForm.cxx
index 0e454f2..e8dc1ae 100644
--- a/Source/CursesDialog/cmCursesLongMessageForm.cxx
+++ b/Source/CursesDialog/cmCursesLongMessageForm.cxx
@@ -174,7 +174,7 @@ void cmCursesLongMessageForm::HandleInput()
char debugMessage[128];
- while(1)
+ for(;;)
{
int key = getch();