From ea9a376085b22a6e19bb4c6334e186052db51f16 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 31 Jan 2019 07:15:35 -0500 Subject: Remove unused 'class cmake' members * The `InTryCompile` member has been unused since commit 62854e9966 (cmState: Move try_compile state from cmake class., 2015-04-11, v3.3.0-rc1~196^2~9). * The `ConvertMessageType` and `IsMessageTypeVisible` members have been unused since commit 421012a330 (cmMessenger: Extract from cmake class, 2016-01-28, v3.7.0-rc1~222^2~1). * The `InitializeProperties` member has been unused since commit de722d7d63 (Move property initialization to cmState., 2015-04-06, v3.3.0-rc1~196^2~1). Co-Author: Vitaly Stakhovsky --- Source/cmake.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Source/cmake.h b/Source/cmake.h index afd4117..dd7ce42 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -443,7 +443,6 @@ public: protected: void RunCheckForUnusedVariables(); - void InitializeProperties(); int HandleDeleteCacheVariables(const std::string& var); typedef std::vector RegisteredGeneratorsVector; @@ -486,7 +485,6 @@ protected: private: ProgressCallbackType ProgressCallback; - bool InTryCompile; WorkingMode CurrentWorkingMode; bool DebugOutput; bool Trace; @@ -534,18 +532,6 @@ private: void AppendGlobalGeneratorsDocumentation(std::vector&); void AppendExtraGeneratorsDocumentation(std::vector&); - - /** - * Convert a message type between a warning and an error, based on the state - * of the error output CMake variables, in the cache. - */ - MessageType ConvertMessageType(MessageType t) const; - - /* - * Check if messages of this type should be output, based on the state of the - * warning and error output CMake variables, in the cache. - */ - bool IsMessageTypeVisible(MessageType t) const; }; #define CMAKE_STANDARD_OPTIONS_TABLE \ -- cgit v0.12