From 6a8f96b2ccffcb008fbbdf575e5990e73948b7ae Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Thu, 30 Jan 2014 22:31:01 +0900 Subject: [PATCH] Small simplification in sexp_bignum_fxmul. --- bignum.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bignum.c b/bignum.c index 15818927..8d18e36b 100644 --- a/bignum.c +++ b/bignum.c @@ -190,9 +190,8 @@ sexp sexp_bignum_fxmul (sexp ctx, sexp d, sexp a, sexp_uint_t b, int offset) { sexp_gc_var1(tmp); sexp_gc_preserve1(ctx, tmp); if ((! d) || (sexp_bignum_length(d) < len+offset)) - d = tmp = sexp_make_bignum(ctx, len+offset); - else - tmp = d; + d = sexp_make_bignum(ctx, len+offset); + tmp = d; data = sexp_bignum_data(d); for (i=0; i