Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
replay committed Oct 30, 2019
1 parent 48c5c20 commit e04c91b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions idx/memory/meta_tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,9 @@ func (e *enricher) enrich(id schema.MKey, name string, tags []string) tagquery.T
}

var res tagquery.Tags
var matches []int
for i := range e.filters {
if e.filters[i](id, name, tags) == tagquery.Pass {
res = append(res, e.tags[i]...)
matches = append(matches, i)
}
}

Expand Down

0 comments on commit e04c91b

Please sign in to comment.