summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-29 14:29:32 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-07-29 14:29:32 (GMT)
commit22b8f23849a8996c921332b3689405b967eaaa6e (patch)
tree8437bea2d58606850437a7adbe4f175c9780a7d1
parent8697dca7f13026d2d160a1df9ecd047e404d255b (diff)
parent3942ec32ddd977ca899a129b8a9821284fd3df5f (diff)
downloadCMake-22b8f23849a8996c921332b3689405b967eaaa6e.zip
CMake-22b8f23849a8996c921332b3689405b967eaaa6e.tar.gz
CMake-22b8f23849a8996c921332b3689405b967eaaa6e.tar.bz2
Merge topic 'minor-cleanups'
3942ec32 cmMakefileTargetGenerator: Remove unused variable. a034dc0d cmGeneratorExpressionNode: Remove unused variable. aeb74ae9 Fix include guard.
-rw-r--r--Source/cmExportTryCompileFileGenerator.h4
-rw-r--r--Source/cmGeneratorExpressionNode.cxx2
-rw-r--r--Source/cmMakefileTargetGenerator.cxx1
3 files changed, 2 insertions, 5 deletions
diff --git a/Source/cmExportTryCompileFileGenerator.h b/Source/cmExportTryCompileFileGenerator.h
index 0d84896..749f3ef 100644
--- a/Source/cmExportTryCompileFileGenerator.h
+++ b/Source/cmExportTryCompileFileGenerator.h
@@ -9,8 +9,8 @@
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License for more information.
============================================================================*/
-#ifndef cmExportInstallFileGenerator_h
-#define cmExportInstallFileGenerator_h
+#ifndef cmExportTryCompileFileGenerator_h
+#define cmExportTryCompileFileGenerator_h
#include "cmExportFileGenerator.h"
diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx
index 3daa7b8..f3527ff 100644
--- a/Source/cmGeneratorExpressionNode.cxx
+++ b/Source/cmGeneratorExpressionNode.cxx
@@ -1369,8 +1369,6 @@ static const struct CompileFeaturesNode : public cmGeneratorExpressionNode
bool evalLL = dagChecker && dagChecker->EvaluatingLinkLibraries();
- std::string result;
-
for (LangMap::const_iterator lit = testedFeatures.begin();
lit != testedFeatures.end(); ++lit)
{
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 0f82fb3..6cc2378 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -414,7 +414,6 @@ void cmMakefileTargetGenerator
// we compute some depends when writing the depend.make that we will also
// use in the build.make, same with depMakeFile
std::vector<std::string> depends;
- std::string depMakeFile;
// generate the build rule file
this->WriteObjectBuildFile(obj, lang, source, depends);