From cc467ac312c6a52e9d487016c2cfc921db27ca37 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 23 Apr 2017 08:07:17 -0400 Subject: [PATCH] make it compile --- contrib/backends/srndv2/src/srnd/policy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/backends/srndv2/src/srnd/policy.go b/contrib/backends/srndv2/src/srnd/policy.go index 1b8ae9d..463605c 100644 --- a/contrib/backends/srndv2/src/srnd/policy.go +++ b/contrib/backends/srndv2/src/srnd/policy.go @@ -15,7 +15,7 @@ type FeedPolicy struct { // do we allow this newsgroup? func (self *FeedPolicy) AllowsNewsgroup(newsgroup string) (result bool) { var k, v string - var allows, disallows int + var allows int for k, v = range self.rules { v = strings.Trim(v, " ") match, err := regexp.MatchString(k, newsgroup)