diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-14 19:22:31 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-14 21:10:04 (GMT) |
commit | 980e048a7d5356a881dbaaf25b1595091fe5cb8b (patch) | |
tree | 2c4bf3e45adfb460e4007aa1b5369e20a02674c2 /Source/cmMakefile.h | |
parent | 83acb0a4b22aa57d3c345320333b75301a99b2ba (diff) | |
download | CMake-980e048a7d5356a881dbaaf25b1595091fe5cb8b.zip CMake-980e048a7d5356a881dbaaf25b1595091fe5cb8b.tar.gz CMake-980e048a7d5356a881dbaaf25b1595091fe5cb8b.tar.bz2 |
Factor out checks for unused variables
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index f1ad54d..89979d6 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -840,7 +840,10 @@ public: protected: // add link libraries and directories to the target void AddGlobalLinkInformation(const char* name, cmTarget& target); - + + // Check for a an unused variable + bool CheckForUnused(const char* reason, const char* name); + std::string Prefix; std::vector<std::string> AuxSourceDirectories; // |