diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index 5cb89d395..1be3a9f3f 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/Source/cmLocalUnixMakefileGenerator.cxx @@ -1371,7 +1371,6 @@ void cmLocalUnixMakefileGenerator::OutputExecutableRule(std::ostream& fout, if(m_UseRelativePaths) { cmSystemTools::ConvertToUnixSlashes(target); - bool needsLocalTarget = false; std::string tgt = this->ConvertToMakeTarget(target.c_str()); if(tgt.find('/', 0) != tgt.npos) {