COMP: Fixed constant conditional warning.

This commit is contained in:
Brad King 2005-04-22 09:21:33 -04:00
parent fbe5a2e629
commit c13fee6ebd

View File

@ -465,7 +465,7 @@ const char* CommandLineArguments::GetHelp(const char* arg)
// Since several arguments may point to the same argument, find the one this // Since several arguments may point to the same argument, find the one this
// one point to if this one is pointing to another argument. // one point to if this one is pointing to another argument.
CommandLineArgumentsCallbackStructure *cs = &(it->second); CommandLineArgumentsCallbackStructure *cs = &(it->second);
while ( 1 ) for(;;)
{ {
CommandLineArguments::Internal::CallbacksMap::iterator hit CommandLineArguments::Internal::CallbacksMap::iterator hit
= this->Internals->Callbacks.find(cs->Help); = this->Internals->Callbacks.find(cs->Help);