[icinga-checkins] icinga.org: icinga2/master: Remove unused method: ApplyRule::DiscardRules

git at icinga.org git at icinga.org
Thu Aug 25 10:21:23 CEST 2016


Module: icinga2
Branch: master
Commit: ce7b6e4f8709f2695b3f0ac5cc48c630357be242
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=ce7b6e4f8709f2695b3f0ac5cc48c630357be242

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Thu Aug 25 10:21:14 2016 +0200

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 c917562..73f3688 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 bc9eadd..f3a1854 100644
--- a/lib/config/applyrule.hpp
+++ b/lib/config/applyrule.hpp
@@ -64,7 +64,6 @@ public:
 	static std::vector<String> GetTargetTypes(const String& sourceType);
 
 	static void CheckMatches(void);
-	static void DiscardRules(void);
 
 private:
 	String m_TargetType;



More information about the icinga-checkins mailing list