From e3401a0645d6d9025d1a777015de92d72c778b5f Mon Sep 17 00:00:00 2001 From: Sergey Vlasov Date: Tue, 16 Feb 2016 11:28:40 +0200 Subject: [PATCH] Go 1.3 compatibility --- src/matcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matcher.go b/src/matcher.go index 3ea2fbe..d320697 100644 --- a/src/matcher.go +++ b/src/matcher.go @@ -200,7 +200,7 @@ func (m *Matcher) scan(request MatchRequest) (*Merger, bool) { } partialResults := make([][]*Item, numSlices) - for range slices { + for _, _ = range slices { partialResult := <-resultChan partialResults[partialResult.index] = partialResult.matches }