summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-09-14 19:22:31 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-14 21:10:04 (GMT)
commit980e048a7d5356a881dbaaf25b1595091fe5cb8b (patch)
tree2c4bf3e45adfb460e4007aa1b5369e20a02674c2 /Source/cmMakefile.h
parent83acb0a4b22aa57d3c345320333b75301a99b2ba (diff)
downloadCMake-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.h5
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; //