summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-04-26 15:09:29 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-04-26 15:09:29 (GMT)
commit094dd40d2eb3561d4b5763fbdc857f01ddb0b57b (patch)
tree5110f00a5666e4e1bc44a1526a41d0557ee4e2d6
parent15c7d45ecd787b74eb4a4dc5cafe69bd92351938 (diff)
downloadCMake-094dd40d2eb3561d4b5763fbdc857f01ddb0b57b.zip
CMake-094dd40d2eb3561d4b5763fbdc857f01ddb0b57b.tar.gz
CMake-094dd40d2eb3561d4b5763fbdc857f01ddb0b57b.tar.bz2
COMP: Remove warnings
-rw-r--r--Source/CTest/cmCTestUpdateHandler.cxx3
-rw-r--r--Source/cmakewizard.h1
2 files changed, 3 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 )
diff --git a/Source/cmakewizard.h b/Source/cmakewizard.h
index f3093dc..5dc7a92 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.
*/