summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestUpdateCommand.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/cmCTestUpdateCommand.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/cmCTestUpdateCommand.cxx')
-rw-r--r--Source/CTest/cmCTestUpdateCommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestUpdateCommand.cxx b/Source/CTest/cmCTestUpdateCommand.cxx
index 2e523fe..7d274b8 100644
--- a/Source/CTest/cmCTestUpdateCommand.cxx
+++ b/Source/CTest/cmCTestUpdateCommand.cxx
@@ -59,13 +59,13 @@ cmCTestGenericHandler* cmCTestUpdateCommand::InitializeHandler()
if ( !handler )
{
this->SetError("internal CTest error. Cannot instantiate update handler");
- return false;
+ return 0;
}
handler->SetCommand(this);
if ( source_dir.empty() )
{
this->SetError("source directory not specified. Please use SOURCE tag");
- return false;
+ return 0;
}
handler->SetOption("SourceDirectory", source_dir.c_str());
if ( initialCheckoutCommand )
@@ -84,7 +84,7 @@ cmCTestGenericHandler* cmCTestUpdateCommand::InitializeHandler()
"CTEST_CHECKOUT_COMMAND.";
}
this->SetError(str.str().c_str());
- return false;
+ return 0;
}
return handler;
}