diff options
author | Craig Scott <craig.scott@crascit.com> | 2020-07-01 11:02:57 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-07-01 11:03:54 (GMT) |
commit | 8975c2a55b2d274b4de46c482c5873c52ba3a358 (patch) | |
tree | aa5f992ef2787ac8dff7ef56ca96eeb514995e95 /Source/cmMakefile.h | |
parent | b7af2811aecf9aedf31e3ed98209b6a92c227116 (diff) | |
parent | df6b077625f86e4ec0d534f6cd88f8610c5b8f8a (diff) | |
download | CMake-8975c2a55b2d274b4de46c482c5873c52ba3a358.zip CMake-8975c2a55b2d274b4de46c482c5873c52ba3a358.tar.gz CMake-8975c2a55b2d274b4de46c482c5873c52ba3a358.tar.bz2 |
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.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 8219eb3..323ab5a 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; |