From 37304d615a4d4770bd1826b7a9efd30e4dbf6556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Tue, 9 May 2017 17:49:24 +0100 Subject: [PATCH] Remove unused code setOperator is no longer used, remove it as it's dangerous and useless --- filters/matcher.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/filters/matcher.go b/filters/matcher.go index 202c15a73..8b0a82a1c 100644 --- a/filters/matcher.go +++ b/filters/matcher.go @@ -23,10 +23,6 @@ type abstractMatcher struct { Operator string } -func (matcher *abstractMatcher) setOperator(operator string) { - matcher.Operator = operator -} - func (matcher *abstractMatcher) GetOperator() string { return matcher.Operator }