1
0
mirror of https://github.com/golang/go synced 2024-11-21 14:44:40 -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:
Lucio De Re 2012-09-20 14:58:33 -04:00 committed by Russ Cox
parent d151fb9e20
commit 091388d8e9

View File

@ -1038,7 +1038,6 @@ dodata(void)
datsize += t;
}
sect->len = datsize - sect->vaddr;
datsize = rnd(datsize, PtrSize);
/* we finished segdata, begin segtext */