diff options
Diffstat (limited to 'Source/CTest/cmCTestUpdateCommand.cxx')
-rw-r--r-- | Source/CTest/cmCTestUpdateCommand.cxx | 6 |
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; } |