From d21b1922c61b875bb9c1ee8be39f05ffe65c8571 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 26 Feb 2013 22:51:47 -0500 Subject: [PATCH] libmach: fix build (set and not used) TBR=golang-dev CC=golang-dev https://golang.org/cl/7401053 --- src/libmach/sym.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libmach/sym.c b/src/libmach/sym.c index 345bcd18b81..120328d09a8 100644 --- a/src/libmach/sym.c +++ b/src/libmach/sym.c @@ -110,7 +110,7 @@ syminit(int fd, Fhdr *fp) { Sym *p; int32 i, l, size; - vlong vl, off; + vlong vl; Biobuf b; int svalsz, newformat, shift; uvlong (*swav)(uvlong); @@ -167,7 +167,6 @@ syminit(int fd, Fhdr *fp) size = 0; for(p = symbols; size < fp->symsz; p++, nsym++) { if(newformat) { - off = Boffset(&b); // Go 1.1 format. See comment at top of ../pkg/runtime/symtab.c. if(Bread(&b, &c, 1) != 1) return symerrmsg(1, "symbol");