diff options
author | Brad King <brad.king@kitware.com> | 2009-03-05 15:17:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-03-05 15:17:42 (GMT) |
commit | dcd1c5cd8ad4762c0360e6a15d5fa9d493d7c875 (patch) | |
tree | ca5e516ed90826f67966683fbb705faa4a77a3f4 | |
parent | 6d242ca2dc960dda88c248aa66ebb3c652146644 (diff) | |
download | CMake-dcd1c5cd8ad4762c0360e6a15d5fa9d493d7c875.zip CMake-dcd1c5cd8ad4762c0360e6a15d5fa9d493d7c875.tar.gz CMake-dcd1c5cd8ad4762c0360e6a15d5fa9d493d7c875.tar.bz2 |
BUG: Initialize ctest_coverage command ivar
This initializes the LabelsMentioned ivar in cmCTestCoverageCommand.
-rw-r--r-- | Source/CTest/cmCTestCoverageCommand.cxx | 7 | ||||
-rw-r--r-- | Source/CTest/cmCTestCoverageCommand.h | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestCoverageCommand.cxx b/Source/CTest/cmCTestCoverageCommand.cxx index 067a4e9..b63ba03 100644 --- a/Source/CTest/cmCTestCoverageCommand.cxx +++ b/Source/CTest/cmCTestCoverageCommand.cxx @@ -19,6 +19,13 @@ #include "cmCTest.h" #include "cmCTestCoverageHandler.h" +//---------------------------------------------------------------------------- +cmCTestCoverageCommand::cmCTestCoverageCommand() +{ + this->LabelsMentioned = false; +} + +//---------------------------------------------------------------------------- cmCTestGenericHandler* cmCTestCoverageCommand::InitializeHandler() { this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile, diff --git a/Source/CTest/cmCTestCoverageCommand.h b/Source/CTest/cmCTestCoverageCommand.h index c2062cd..7682161 100644 --- a/Source/CTest/cmCTestCoverageCommand.h +++ b/Source/CTest/cmCTestCoverageCommand.h @@ -28,7 +28,7 @@ class cmCTestCoverageCommand : public cmCTestHandlerCommand { public: - cmCTestCoverageCommand() {} + cmCTestCoverageCommand(); /** * This is a virtual constructor for the command. |