COMP: Remove warnings

This commit is contained in:
Andy Cedilnik 2005-04-26 11:09:29 -04:00
parent 15c7d45ecd
commit 094dd40d2e
2 changed files with 3 additions and 1 deletions

View File

@ -393,7 +393,7 @@ int cmCTestUpdateHandler::ProcessHandler()
std::string partialOutput; std::string partialOutput;
command = updateCommand + " update " + updateOptions + command = updateCommand + " update " + updateOptions +
" " + extra_update_opts; " " + extra_update_opts;
res = cmSystemTools::RunSingleCommand(command.c_str(), &partialOutput, bool res1 = cmSystemTools::RunSingleCommand(command.c_str(), &partialOutput,
&retVal, sourceDirectory, &retVal, sourceDirectory,
m_Verbose, 0 /*m_TimeOut*/); m_Verbose, 0 /*m_TimeOut*/);
command = updateCommand + " status"; command = updateCommand + " status";
@ -401,6 +401,7 @@ int cmCTestUpdateHandler::ProcessHandler()
&retVal, sourceDirectory, &retVal, sourceDirectory,
m_Verbose, 0 /*m_TimeOut*/); m_Verbose, 0 /*m_TimeOut*/);
goutput += partialOutput; goutput += partialOutput;
res = res && res1;
} }
} }
if ( ofs ) if ( ofs )

View File

@ -22,6 +22,7 @@ class cmakewizard
{ {
public: public:
cmakewizard(); cmakewizard();
~cmakewizard() {}
/** /**
* Prompt the user to see if they want to see advanced entries. * Prompt the user to see if they want to see advanced entries.
*/ */