diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-04-26 15:09:29 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-04-26 15:09:29 (GMT) |
commit | 094dd40d2eb3561d4b5763fbdc857f01ddb0b57b (patch) | |
tree | 5110f00a5666e4e1bc44a1526a41d0557ee4e2d6 /Source/CTest/cmCTestUpdateHandler.cxx | |
parent | 15c7d45ecd787b74eb4a4dc5cafe69bd92351938 (diff) | |
download | CMake-094dd40d2eb3561d4b5763fbdc857f01ddb0b57b.zip CMake-094dd40d2eb3561d4b5763fbdc857f01ddb0b57b.tar.gz CMake-094dd40d2eb3561d4b5763fbdc857f01ddb0b57b.tar.bz2 |
COMP: Remove warnings
Diffstat (limited to 'Source/CTest/cmCTestUpdateHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestUpdateHandler.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx index 6a73031..7aecdb1 100644 --- a/Source/CTest/cmCTestUpdateHandler.cxx +++ b/Source/CTest/cmCTestUpdateHandler.cxx @@ -393,7 +393,7 @@ int cmCTestUpdateHandler::ProcessHandler() std::string partialOutput; command = updateCommand + " update " + updateOptions + " " + extra_update_opts; - res = cmSystemTools::RunSingleCommand(command.c_str(), &partialOutput, + bool res1 = cmSystemTools::RunSingleCommand(command.c_str(), &partialOutput, &retVal, sourceDirectory, m_Verbose, 0 /*m_TimeOut*/); command = updateCommand + " status"; @@ -401,6 +401,7 @@ int cmCTestUpdateHandler::ProcessHandler() &retVal, sourceDirectory, m_Verbose, 0 /*m_TimeOut*/); goutput += partialOutput; + res = res && res1; } } if ( ofs ) |