summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2016-02-16 18:48:39 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2016-02-16 18:48:39 +0900
commit45108ddd5366da5503c670ae6ab8259b1f434ea0 (patch)
treecd15cff6161b0fc8314d3f8a6a70e23a59f2e98a
parent26b91007093914c97d8b91254b0f632543f469de (diff)
parente3401a0645d6d9025d1a777015de92d72c778b5f (diff)
Merge pull request #496 from noscript/master
Go 1.3 compatibility
-rw-r--r--src/matcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/matcher.go b/src/matcher.go
index 3ea2fbeb..d320697a 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
}