From 1899f838b3c3e43b10fa58f67b4da8fadc6fa74f Mon Sep 17 00:00:00 2001 From: Lucio De Re Date: Fri, 4 Jan 2013 11:02:49 -0500 Subject: 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 --- src/cmd/5l/asm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cmd/5l') 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); -- cgit v1.2.1