]> granicus.if.org Git - icinga2/commitdiff
Remove unused method: ApplyRule::DiscardRules
authorGunnar Beutner <gunnar.beutner@netways.de>
Thu, 25 Aug 2016 08:21:14 +0000 (10:21 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Thu, 25 Aug 2016 08:21:14 +0000 (10:21 +0200)
fixes #12544

lib/config/applyrule.cpp
lib/config/applyrule.hpp

index c917562eedc2f6def566cce3e483fe15dc787b9c..73f3688aab7689fdaef07562680cff4f805822cd 100644 (file)
@@ -168,9 +168,3 @@ void ApplyRule::CheckMatches(void)
                }
        }
 }
-
-void ApplyRule::DiscardRules(void)
-{
-       m_Rules.clear();
-}
-
index bc9eaddabf1c457a0a593477df1f4793691381ab..f3a1854447f8ea3def80ea36b287fdc0c87693c9 100644 (file)
@@ -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;