summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorOrkun Tokdemir <ilhanorkuntokdemir@gmail.com>2024-01-09 11:22:54 (GMT)
committerOrkun Tokdemir <ilhanorkuntokdemir@gmail.com>2024-01-09 12:05:01 (GMT)
commitc2dd5dfbe8a8c5254e8a0a6ec1d1c611ad039ff7 (patch)
treeea306a9a854552a0bcbf9540aa19794645a26efd /Source/cmMakefileTargetGenerator.cxx
parent44af8fb801268a38b57c820bcd262d67a183fae3 (diff)
downloadCMake-c2dd5dfbe8a8c5254e8a0a6ec1d1c611ad039ff7.zip
CMake-c2dd5dfbe8a8c5254e8a0a6ec1d1c611ad039ff7.tar.gz
CMake-c2dd5dfbe8a8c5254e8a0a6ec1d1c611ad039ff7.tar.bz2
Makefile: Remove no-op call
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 8fda774..8122f0f 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -1800,7 +1800,6 @@ void cmMakefileTargetGenerator::WriteObjectsVariable(
*this->BuildFileStream << "# Object files for target "
<< this->GeneratorTarget->GetName() << "\n"
<< variableName << " =";
- std::string object;
const auto& lineContinue = this->GlobalGenerator->LineContinueDirective;
cmValue pchExtension = this->Makefile->GetDefinition("CMAKE_PCH_EXTENSION");
@@ -1828,7 +1827,6 @@ void cmMakefileTargetGenerator::WriteObjectsVariable(
<< variableNameExternal << " =";
/* clang-format on */
for (std::string const& obj : this->ExternalObjects) {
- object = this->LocalGenerator->MaybeRelativeToCurBinDir(obj);
*this->BuildFileStream << " " << lineContinue;
*this->BuildFileStream
<< cmLocalUnixMakefileGenerator3::ConvertToQuotedOutputPath(