diff options
author | Brad King <brad.king@kitware.com> | 2005-05-03 18:57:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-05-03 18:57:32 (GMT) |
commit | c7a75e92c992c9750f677177f550a32da6725ff8 (patch) | |
tree | 430887651127ce5f54184fe29a30522bfce2af8e /Source/CursesDialog/cmCursesLongMessageForm.cxx | |
parent | 7b7f1db00ae86209e30e4a49fddfbf89a733cb86 (diff) | |
download | CMake-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.cxx | 2 |
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(); |