Skip to content

Commit 482a14d

Browse files
committed
cmd/go/internal/modload: omit return at the end of matchPackages
1 parent 6a7ef36 commit 482a14d

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)