summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestConfigureCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-29 17:33:41 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-29 17:33:41 (GMT)
commit337362dfcfdcd52a8c02f9e9feee2c31b41a7e93 (patch)
treeb1f4274cfd25171cba1bd19c9140ac62d83c6fd6 /Source/CTest/cmCTestConfigureCommand.cxx
parent386900bfdd5836ccabeb0c050a6292c50aec79d6 (diff)
downloadCMake-337362dfcfdcd52a8c02f9e9feee2c31b41a7e93.zip
CMake-337362dfcfdcd52a8c02f9e9feee2c31b41a7e93.tar.gz
CMake-337362dfcfdcd52a8c02f9e9feee2c31b41a7e93.tar.bz2
COMP: Return 0 instead of false
Diffstat (limited to 'Source/CTest/cmCTestConfigureCommand.cxx')
-rw-r--r--Source/CTest/cmCTestConfigureCommand.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestConfigureCommand.cxx b/Source/CTest/cmCTestConfigureCommand.cxx
index 829f4a5..9a30fe8 100644
--- a/Source/CTest/cmCTestConfigureCommand.cxx
+++ b/Source/CTest/cmCTestConfigureCommand.cxx
@@ -46,7 +46,7 @@ cmCTestGenericHandler* cmCTestConfigureCommand::InitializeHandler()
this->SetError("Build directory not specified. Either use BUILD "
"argument to CTEST_CONFIGURE command or set CTEST_BINARY_DIRECTORY "
"variable");
- return false;
+ return 0;
}
const char* ctestConfigureCommand
@@ -69,7 +69,7 @@ cmCTestGenericHandler* cmCTestConfigureCommand::InitializeHandler()
this->SetError("Source directory not specified. Either use SOURCE "
"argument to CTEST_CONFIGURE command or set CTEST_SOURCE_DIRECTORY "
"variable");
- return false;
+ return 0;
}
std::string cmakeConfigureCommand = "\"";
cmakeConfigureCommand += this->CTest->GetCMakeExecutable();
@@ -86,7 +86,7 @@ cmCTestGenericHandler* cmCTestConfigureCommand::InitializeHandler()
this->SetError("Configure command is not specified. If this is a CMake "
"project, specify CTEST_CMAKE_GENERATOR, or if this is not CMake "
"project, specify CTEST_CONFIGURE_COMMAND.");
- return false;
+ return 0;
}
}
@@ -96,7 +96,7 @@ cmCTestGenericHandler* cmCTestConfigureCommand::InitializeHandler()
{
this->SetError(
"internal CTest error. Cannot instantiate configure handler");
- return false;
+ return 0;
}
return handler;
}