From 094dd40d2eb3561d4b5763fbdc857f01ddb0b57b Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Tue, 26 Apr 2005 11:09:29 -0400 Subject: [PATCH] COMP: Remove warnings --- Source/CTest/cmCTestUpdateHandler.cxx | 3 ++- Source/cmakewizard.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx index 6a73031f5..7aecdb174 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 ) diff --git a/Source/cmakewizard.h b/Source/cmakewizard.h index f3093dc05..5dc7a9220 100644 --- a/Source/cmakewizard.h +++ b/Source/cmakewizard.h @@ -22,6 +22,7 @@ class cmakewizard { public: cmakewizard(); + ~cmakewizard() {} /** * Prompt the user to see if they want to see advanced entries. */