summaryrefslogtreecommitdiff
path: root/src/pkg/os/getwd.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/os/getwd.go')
-rw-r--r--src/pkg/os/getwd.go1
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