COMP: Remove warning and fix the logic

This commit is contained in:
Andy Cedilnik 2005-07-14 09:29:54 -04:00
parent 81211fc427
commit 0af5ef0e99
1 changed files with 5 additions and 2 deletions

View File

@ -38,8 +38,11 @@ cmCTestGenericHandler* cmCTestTestCommand::InitializeHandler()
} }
else else
{ {
// By default use timeout of 10 minutes if ( timeout <= 0 )
timeout = 600; {
// By default use timeout of 10 minutes
timeout = 600;
}
} }
m_CTest->SetTimeOut(timeout); m_CTest->SetTimeOut(timeout);
cmCTestGenericHandler* handler = m_CTest->GetInitializedHandler("test"); cmCTestGenericHandler* handler = m_CTest->GetInitializedHandler("test");