mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
simplify and save a few bytes
committer: jreiser <jreiser> 1141488398 +0000
This commit is contained in:
parent
c3b3e1b1b9
commit
62ac733b09
|
@ -263,11 +263,11 @@ do_xmap(
|
|||
if (xi) {
|
||||
unpackExtent(xi, &xo, f_decompress, f_unf);
|
||||
}
|
||||
if (xi || (PROT_WRITE & prot)) {
|
||||
if (PROT_WRITE & prot) {
|
||||
bzero(addr, frag); // fragment at lo end
|
||||
}
|
||||
frag = (-mlen) &~ PAGE_MASK; // distance to next page boundary
|
||||
if (xi || (PROT_WRITE & prot)) {
|
||||
if (PROT_WRITE & prot) {
|
||||
bzero(mlen+addr, frag); // fragment at hi end
|
||||
}
|
||||
if (xi) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user