From a6dad316c28804f6638e4073415b106602c2291c Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Fri, 3 Apr 2020 10:37:05 +0200 Subject: [PATCH] CMake: Remove dead code from BuildDirParameters Change-Id: Iae900ad0a3b901d2e83a2ea8eb2895b5627897fc Reviewed-by: hjk --- src/plugins/cmakeprojectmanager/builddirparameters.cpp | 1 - src/plugins/cmakeprojectmanager/builddirparameters.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/plugins/cmakeprojectmanager/builddirparameters.cpp b/src/plugins/cmakeprojectmanager/builddirparameters.cpp index 770bbc5070b..8c54186271b 100644 --- a/src/plugins/cmakeprojectmanager/builddirparameters.cpp +++ b/src/plugins/cmakeprojectmanager/builddirparameters.cpp @@ -75,7 +75,6 @@ BuildDirParameters::BuildDirParameters(CMakeBuildConfiguration *bc) tc = ToolChainKitAspect::cToolChain(k); if (tc) cToolChainId = tc->id(); - sysRoot = SysRootKitAspect::sysRoot(k); expander = k->macroExpander(); diff --git a/src/plugins/cmakeprojectmanager/builddirparameters.h b/src/plugins/cmakeprojectmanager/builddirparameters.h index 740327dcad0..159ab902a88 100644 --- a/src/plugins/cmakeprojectmanager/builddirparameters.h +++ b/src/plugins/cmakeprojectmanager/builddirparameters.h @@ -61,8 +61,6 @@ public: QByteArray cxxToolChainId; QByteArray cToolChainId; - Utils::FilePath sysRoot; - Utils::MacroExpander *expander = nullptr; CMakeConfig configuration;