mirror of
https://github.com/golang/go
synced 2024-11-22 02:24:41 -07:00
cmd/ld: remove unused assignment
The calculation of datsize is redundant. R=golang-dev, seed, rsc CC=golang-dev https://golang.org/cl/6503122
This commit is contained in:
parent
d151fb9e20
commit
091388d8e9
@ -1038,7 +1038,6 @@ dodata(void)
|
|||||||
datsize += t;
|
datsize += t;
|
||||||
}
|
}
|
||||||
sect->len = datsize - sect->vaddr;
|
sect->len = datsize - sect->vaddr;
|
||||||
datsize = rnd(datsize, PtrSize);
|
|
||||||
|
|
||||||
/* we finished segdata, begin segtext */
|
/* we finished segdata, begin segtext */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user