summaryrefslogtreecommitdiff
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2020-07-01 11:02:57 +0000
committerKitware Robot <kwrobot@kitware.com>2020-07-01 07:03:54 -0400
commit8975c2a55b2d274b4de46c482c5873c52ba3a358 (patch)
treeaa5f992ef2787ac8dff7ef56ca96eeb514995e95 /Source/cmMakefile.h
parentb7af2811aecf9aedf31e3ed98209b6a92c227116 (diff)
parentdf6b077625f86e4ec0d534f6cd88f8610c5b8f8a (diff)
downloadcmake-8975c2a55b2d274b4de46c482c5873c52ba3a358.tar.gz
Merge topic 'remove-warn-unused-vars'
df6b077625 cmake: Remove broken '--warn-unused-vars' option Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !4953
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 8219eb386d..323ab5a690 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -996,9 +996,6 @@ protected:
// add link libraries and directories to the target
void AddGlobalLinkInformation(cmTarget& target);
- // Check for a an unused variable
- void LogUnused(const char* reason, const std::string& name) const;
-
mutable std::set<cmListFileContext> CMP0054ReportedIds;
// libraries, classes, and executables
@@ -1234,10 +1231,6 @@ private:
std::string const& config,
const std::string& feature) const;
- void CheckForUnusedVariables() const;
-
- // Unused variable flags
- bool WarnUnused;
bool CheckSystemVars;
bool CheckCMP0000;
std::set<std::string> WarnedCMP0074;