diff --git a/src/cmd/ld/lib.c b/src/cmd/ld/lib.c index b70c8743902..8039bf8ee0e 100644 --- a/src/cmd/ld/lib.c +++ b/src/cmd/ld/lib.c @@ -718,8 +718,6 @@ Bget4(Biobuf *f) void mywhatsys(void) { - char *s; - goroot = getgoroot(); goos = getgoos(); goarch = thestring; // ignore $GOARCH - we know who we are