BUG: Initialize ctest_coverage command ivar

This initializes the LabelsMentioned ivar in cmCTestCoverageCommand.
This commit is contained in:
Brad King 2009-03-05 10:17:42 -05:00
parent 6d242ca2dc
commit dcd1c5cd8a
2 changed files with 8 additions and 1 deletions

View File

@ -19,6 +19,13 @@
#include "cmCTest.h" #include "cmCTest.h"
#include "cmCTestCoverageHandler.h" #include "cmCTestCoverageHandler.h"
//----------------------------------------------------------------------------
cmCTestCoverageCommand::cmCTestCoverageCommand()
{
this->LabelsMentioned = false;
}
//----------------------------------------------------------------------------
cmCTestGenericHandler* cmCTestCoverageCommand::InitializeHandler() cmCTestGenericHandler* cmCTestCoverageCommand::InitializeHandler()
{ {
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile, this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,

View File

@ -28,7 +28,7 @@ class cmCTestCoverageCommand : public cmCTestHandlerCommand
{ {
public: public:
cmCTestCoverageCommand() {} cmCTestCoverageCommand();
/** /**
* This is a virtual constructor for the command. * This is a virtual constructor for the command.