From ce7b6e4f8709f2695b3f0ac5cc48c630357be242 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 25 Aug 2016 10:21:14 +0200 Subject: [PATCH] Remove unused method: ApplyRule::DiscardRules fixes #12544 --- lib/config/applyrule.cpp | 6 ------ lib/config/applyrule.hpp | 1 - 2 files changed, 7 deletions(-) diff --git a/lib/config/applyrule.cpp b/lib/config/applyrule.cpp index c917562ee..73f3688aa 100644 --- a/lib/config/applyrule.cpp +++ b/lib/config/applyrule.cpp @@ -168,9 +168,3 @@ void ApplyRule::CheckMatches(void) } } } - -void ApplyRule::DiscardRules(void) -{ - m_Rules.clear(); -} - diff --git a/lib/config/applyrule.hpp b/lib/config/applyrule.hpp index bc9eaddab..f3a185444 100644 --- a/lib/config/applyrule.hpp +++ b/lib/config/applyrule.hpp @@ -64,7 +64,6 @@ public: static std::vector GetTargetTypes(const String& sourceType); static void CheckMatches(void); - static void DiscardRules(void); private: String m_TargetType; -- 2.40.0