diff options
author | Russ Cox <rsc@golang.org> | 2009-09-14 17:20:29 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-09-14 17:20:29 -0700 |
commit | f4275441ce62435cf885411ef2e9801b58562291 (patch) | |
tree | e2cd321c6ad74a89d52d68181a949bc8bfd76198 /src/pkg/os/getwd.go | |
parent | 518cd591a17af2ee525b83754d6a4e8f78753c33 (diff) | |
download | golang-f4275441ce62435cf885411ef2e9801b58562291.tar.gz |
fix "declared and not used" errors in non-test code.
R=r
DELTA=112 (6 added, 57 deleted, 49 changed)
OCL=34610
CL=34610
Diffstat (limited to 'src/pkg/os/getwd.go')
-rw-r--r-- | src/pkg/os/getwd.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pkg/os/getwd.go b/src/pkg/os/getwd.go index 5aeeaa0c3..081f5e46a 100644 --- a/src/pkg/os/getwd.go +++ b/src/pkg/os/getwd.go @@ -49,7 +49,6 @@ func Getwd() (string, Error) { // General algorithm: find name in parent // and then find name of parent. Each iteration // adds /name to the beginning of pwd. - elem := make([]string, 0, 16); pwd = ""; for parent := "..";; parent = "../" + parent { if len(parent) >= 1024 { // Sanity check |