COMP: fix some compiler warnings/errors

This commit is contained in:
Ken Martin 2005-01-27 11:01:56 -05:00
parent 6fd51bc29d
commit bf3d774645
4 changed files with 5 additions and 4 deletions

View File

@ -22,7 +22,7 @@ bool cmCTestRunScriptCommand::InitialPass(std::vector<std::string> const& args)
{
if(args.size() < 1 )
{
m_CTestScriptHandler->RunCurrentScript(m_CTest);
m_CTestScriptHandler->RunCurrentScript();
return true;
}

View File

@ -365,12 +365,12 @@ int cmCTestScriptHandler::RunConfigurationScript(cmCTest* ctest,
}
if (!m_ScriptHasRun)
{
return this->RunCurrentScript(ctest);
return this->RunCurrentScript();
}
return result;
}
int cmCTestScriptHandler::RunCurrentScript(cmCTest* ctest)
int cmCTestScriptHandler::RunCurrentScript()
{
int result;

View File

@ -86,7 +86,7 @@ public:
* Run a script
*/
static bool RunScript(cmCTest* ctest, const char *script);
int RunCurrentScript(cmCTest* ctest);
int RunCurrentScript();
/*
* Empty Binary Directory

View File

@ -17,6 +17,7 @@
#include "cmCTestSleepCommand.h"
#include "cmCTestScriptHandler.h"
#include <stdlib.h> // required for atoi
bool cmCTestSleepCommand::InitialPass(
std::vector<std::string> const& args)