diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-12-22 09:49:24 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-12-22 09:49:24 -0800 |
commit | f27ee7385eef9199687239541156d700e01fb033 (patch) | |
tree | d6af3720ad81d8bf0e298ecab2ff761a7997b718 /debug.c | |
parent | da5597229b29cd5878a192dd2624b8f7b7f5cc68 (diff) | |
download | txr-f27ee7385eef9199687239541156d700e01fb033.tar.gz txr-f27ee7385eef9199687239541156d700e01fb033.tar.bz2 txr-f27ee7385eef9199687239541156d700e01fb033.zip |
Bug #35136 and cleanup.
* arith.c (plus, minus, mul, gt, ge, lt, le, exptmod, gcd): Remove
trailing abort; we already marked uw_throwf as noreturn. This hack
should not be needed in functions where the last statement is a throw.
(trunc, expt): Repeated error case handled in one place. Temp variable
used to avoid two calls to mp_clear. Call to abort removed.
(mod): Repeated error handed in one place. Plugged memory leak
by moving throw past mp_clear calls. Call to abort removed.
(isqrt): Repeated error case handed in one place.
Diffstat (limited to 'debug.c')
0 files changed, 0 insertions, 0 deletions