summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-10-23 06:55:19 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-24 14:19:09 (GMT)
commitc401f95888938562881cd5d7c21ccea5974fe130 (patch)
tree24406d6b616f0a17fb97d831e7ec6c2456fa4a2e /Source/cmMakefile.cxx
parent21f449214d9bf4c8fa99b3a90029cff2171e3fac (diff)
downloadCMake-c401f95888938562881cd5d7c21ccea5974fe130.zip
CMake-c401f95888938562881cd5d7c21ccea5974fe130.tar.gz
CMake-c401f95888938562881cd5d7c21ccea5974fe130.tar.bz2
Remove cmCommand::Enabled and all related accessors
Enabled is never set to false. Remove the member variable and all related getters and setters.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 00c0e82..741ffb8 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -266,7 +266,7 @@ bool cmMakefile::ExecuteCommand(const cmListFileFunction& lff,
pcmd->SetMakefile(this);
// Decide whether to invoke the command.
- if (pcmd->GetEnabled() && !cmSystemTools::GetFatalErrorOccured() &&
+ if (!cmSystemTools::GetFatalErrorOccured() &&
(this->GetCMakeInstance()->GetWorkingMode() != cmake::SCRIPT_MODE ||
pcmd->IsScriptable()))