Commit d21b1922 authored by Russ Cox's avatar Russ Cox

libmach: fix build (set and not used)

TBR=golang-dev
CC=golang-dev
https://golang.org/cl/7401053
parent 56a06db3
......@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment