summaryrefslogtreecommitdiff
path: root/src/cmd/5l
diff options
context:
space:
mode:
authorLucio De Re <lucio.dere@gmail.com>2013-01-04 11:02:49 -0500
committerLucio De Re <lucio.dere@gmail.com>2013-01-04 11:02:49 -0500
commit1899f838b3c3e43b10fa58f67b4da8fadc6fa74f (patch)
tree3449c6ef09714f738ad4902cd9f55ddbf6fc72de /src/cmd/5l
parent1b3f12e50f991bf4739335c6746b74a7a3607e56 (diff)
downloadgo-1899f838b3c3e43b10fa58f67b4da8fadc6fa74f.tar.gz
cmd/5g, cmd/5l, cmd/ld: Small adjustments for the Plan 9 native tools
A few USED(xxx) additions and a couple of deletions of variable initialisations that go unused. One questionable correction, mirrored in 8l/asm.c, where the result of invocation of a function shouldn't be used. R=golang-dev, rsc CC=golang-dev https://codereview.appspot.com/6736054 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/cmd/5l')
-rw-r--r--src/cmd/5l/asm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/5l/asm.c b/src/cmd/5l/asm.c
index f62c927e2..1937d899a 100644
--- a/src/cmd/5l/asm.c
+++ b/src/cmd/5l/asm.c
@@ -913,6 +913,7 @@ asmb(void)
}
phsh(pnote, sh);
}
+ USED(resoff);
elfphload(&segtext);
elfphload(&segdata);