Skip to content

Commit

Permalink
searcher: remove explicit assignment of nil fields
Browse files Browse the repository at this point in the history
  • Loading branch information
sahildua2305 committed Dec 30, 2017
1 parent afb8e5d commit a6aaac0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions searcher/searcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,6 @@ func newSearcherConcurrent(
if err != nil {
resultCh <- searcherResult{
name: name,
searcher: nil,
err: err,
}
return
Expand All @@ -510,6 +509,5 @@ func newSearcherConcurrent(
resultCh <- searcherResult{
name: name,
searcher: s,
err: nil,
}
}

0 comments on commit a6aaac0

Please sign in to comment.