From dcd1c5cd8ad4762c0360e6a15d5fa9d493d7c875 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 5 Mar 2009 10:17:42 -0500 Subject: [PATCH] BUG: Initialize ctest_coverage command ivar This initializes the LabelsMentioned ivar in cmCTestCoverageCommand. --- Source/CTest/cmCTestCoverageCommand.cxx | 7 +++++++ Source/CTest/cmCTestCoverageCommand.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Source/CTest/cmCTestCoverageCommand.cxx b/Source/CTest/cmCTestCoverageCommand.cxx index 067a4e96d..b63ba032b 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 c2062cd08..768216179 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.