Skip to content

Commit 5cb0839

Browse files
callthingsoffgopherbot
authored andcommitted
cmd/go/internal/modload: omit return at the end of matchPackages
Change-Id: Ie18a883dfd3409e29138f58dde6dbc6516d58d48 GitHub-Last-Rev: 482a14d GitHub-Pull-Request: #63895 Reviewed-on: https://go-review.googlesource.com/c/go/+/539097 Reviewed-by: Bryan Mills <[email protected]> Auto-Submit: Bryan Mills <[email protected]> Run-TryBot: Jes Cok <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]>
1 parent ba0dd3b commit 5cb0839

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/cmd/go/internal/modload/search.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,6 @@ func matchPackages(ctx context.Context, m *search.Match, tags map[string]bool, f
213213
}
214214
walkPkgs(root, modPrefix, prune)
215215
}
216-
217-
return
218216
}
219217

220218
// walkFromIndex matches packages in a module using the module index. modroot

0 commit comments

Comments
 (0)