chore: delete dead InputFilter::removeFilterRule

This commit is contained in:
KoljaFrahm 2026-08-29 15:20:26 +02:00 committed by Nick Bolton
parent e3f42ed398
commit 5845b3edb5
2 changed files with 0 additions and 11 deletions

View file

@ -791,14 +791,6 @@ void InputFilter::addFilterRule(const Rule &rule)
} }
} }
void InputFilter::removeFilterRule(uint32_t index)
{
if (m_primaryClient != nullptr) {
m_ruleList[index].disable(m_primaryClient);
}
m_ruleList.erase(m_ruleList.begin() + index);
}
InputFilter::Rule &InputFilter::getRule(uint32_t index) InputFilter::Rule &InputFilter::getRule(uint32_t index)
{ {
return m_ruleList[index]; return m_ruleList[index];

View file

@ -378,9 +378,6 @@ public:
// add rule, adopting the condition and the actions // add rule, adopting the condition and the actions
void addFilterRule(const Rule &rule); void addFilterRule(const Rule &rule);
// remove a rule
void removeFilterRule(uint32_t index);
// get rule by index // get rule by index
Rule &getRule(uint32_t index); Rule &getRule(uint32_t index);