summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-04-22 13:21:33 (GMT)
committerBrad King <brad.king@kitware.com>2005-04-22 13:21:33 (GMT)
commitc13fee6ebd428b5d9cf217414d3c8abafb79b75c (patch)
tree13c1b52763be9f66f301f983a2eb40dbf748ce71
parentfbe5a2e62966c766ed0052b98ae815d3335b18f5 (diff)
downloadCMake-c13fee6ebd428b5d9cf217414d3c8abafb79b75c.zip
CMake-c13fee6ebd428b5d9cf217414d3c8abafb79b75c.tar.gz
CMake-c13fee6ebd428b5d9cf217414d3c8abafb79b75c.tar.bz2
COMP: Fixed constant conditional warning.
-rw-r--r--Source/kwsys/CommandLineArguments.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/CommandLineArguments.cxx b/Source/kwsys/CommandLineArguments.cxx
index dcd9a64..e6185f5 100644
--- a/Source/kwsys/CommandLineArguments.cxx
+++ b/Source/kwsys/CommandLineArguments.cxx
@@ -465,7 +465,7 @@ const char* CommandLineArguments::GetHelp(const char* arg)
// Since several arguments may point to the same argument, find the one this
// one point to if this one is pointing to another argument.
CommandLineArgumentsCallbackStructure *cs = &(it->second);
- while ( 1 )
+ for(;;)
{
CommandLineArguments::Internal::CallbacksMap::iterator hit
= this->Internals->Callbacks.find(cs->Help);