mirror of
https://github.com/golang/go
synced 2024-11-23 00:20:12 -07:00
cmd/go/internal/load: remove redundant assignment to BinDir
This assignment became a no-op in CL 36196, where both it and the preceding assignment were changed to cfg.GOROOTbin (from gorootBin and gobin respectively). Change-Id: If74969c4cc3ffc5d8394ff9d8e8bcec9e0a4e3b0 Reviewed-on: https://go-review.googlesource.com/c/151561 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
parent
365a187756
commit
aab0b704d8
@ -1769,9 +1769,6 @@ func loadPackage(arg string, stk *ImportStack) *Package {
|
||||
bp.ImportPath = arg
|
||||
bp.Goroot = true
|
||||
bp.BinDir = cfg.GOROOTbin
|
||||
if cfg.GOROOTbin != "" {
|
||||
bp.BinDir = cfg.GOROOTbin
|
||||
}
|
||||
bp.Root = cfg.GOROOT
|
||||
bp.SrcRoot = cfg.GOROOTsrc
|
||||
p := new(Package)
|
||||
|
Loading…
Reference in New Issue
Block a user