]> Cypherpunks repositories - gostls13.git/commit
cmd/link/internal/ld: remove unused call to os.Getwd
authorRhys Hiltner <rhys@justin.tv>
Thu, 18 Feb 2016 21:35:49 +0000 (13:35 -0800)
committerIan Lance Taylor <iant@golang.org>
Thu, 18 Feb 2016 22:34:29 +0000 (22:34 +0000)
commit98cc8b4cf219384792e19dec9bc17a0e49c466f6
treef31938609ad76de8b011fdcc4627bb7df721d440
parent7555f7f2bf1636443b6013c90e45698894af75e1
cmd/link/internal/ld: remove unused call to os.Getwd

This call to os.Getwd (or getwd) has been part of the linker since the C
implementation in 7d507dc6e6. It stopped being used in 26438d4d80, and
survived the conversion to Go in 1f9dbb60ef.

Its return value goes unused (the linker gets the value for AT_comp_dir in
dwarf.go), remove it.

Change-Id: I3d4594813bb4ee0a6af31a36e19d99ec4b863677
Reviewed-on: https://go-review.googlesource.com/19655
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/link/internal/ld/sym.go