mirror of
https://github.com/golang/go
synced 2024-11-22 14:34:45 -07:00
libmach: fix build (set and not used)
TBR=golang-dev CC=golang-dev https://golang.org/cl/7401053
This commit is contained in:
parent
56a06db360
commit
d21b1922c6
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user