summaryrefslogtreecommitdiff
path: root/curvetun.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'curvetun.zsh')
0 files changed, 0 insertions, 0 deletions
2be0b8f788b30e71ed5536fddc05f5ddff86&id2=654842ef53d7820129a751f5cc620e5a69c694a9'>diff)
lib/mpi: mpi_write_sgl(): purge redundant pointer arithmetic
Within the copying loop in mpi_write_sgl(), we have if (lzeros) { ... p -= lzeros; y = lzeros; } p = p - (sizeof(alimb) - y); If lzeros == 0, then y == 0, too. Thus, lzeros gets subtracted and added back again to p. Purge this redundancy. Signed-off-by: Nicolai Stange <nicstange@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat