diff options
author | Lucio De Re <lucio.dere@gmail.com> | 2013-01-04 11:02:49 -0500 |
---|---|---|
committer | Lucio De Re <lucio.dere@gmail.com> | 2013-01-04 11:02:49 -0500 |
commit | 1899f838b3c3e43b10fa58f67b4da8fadc6fa74f (patch) | |
tree | 3449c6ef09714f738ad4902cd9f55ddbf6fc72de /src/cmd/ld/pe.c | |
parent | 1b3f12e50f991bf4739335c6746b74a7a3607e56 (diff) | |
download | go-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/ld/pe.c')
-rw-r--r-- | src/cmd/ld/pe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/ld/pe.c b/src/cmd/ld/pe.c index d263562ae..f2903ba0f 100644 --- a/src/cmd/ld/pe.c +++ b/src/cmd/ld/pe.c @@ -536,6 +536,7 @@ addexcept(IMAGE_SECTION_HEADER *text) uvlong n; Sym *sym; + USED(text); if(thechar != '6') return; |