diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-03 00:54:10 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-03 00:54:10 -0400 |
commit | 3324e3472dcf5398350ba2dcd469207b8ceddd53 (patch) | |
tree | c07148bbf2a426a4e8ac310c42291af705c9183f | |
parent | f8bfbf8c250fa24bc9e26b9bf1eb64815a5a29ee (diff) | |
download | fork-ledger-3324e3472dcf5398350ba2dcd469207b8ceddd53.tar.gz fork-ledger-3324e3472dcf5398350ba2dcd469207b8ceddd53.tar.bz2 fork-ledger-3324e3472dcf5398350ba2dcd469207b8ceddd53.zip |
Removed some debug code
-rw-r--r-- | src/amount.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/amount.cc b/src/amount.cc index 9b7c3676..3bc6c871 100644 --- a/src/amount.cc +++ b/src/amount.cc @@ -149,10 +149,6 @@ namespace { mpfr_set_prec(tempfb, num_prec + den_prec); mpfr_div(tempfb, tempfnum, tempfden, GMP_RNDN); - char bigbuf[4096]; - mpfr_sprintf(bigbuf, "%.RNf", tempfb); - DEBUG("amount.convert", "num/den = " << bigbuf); - if (mpfr_asprintf(&buf, "%.*RNf", precision, tempfb) < 0) throw_(amount_error, _("Cannot output amount to a floating-point representation")); |