summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-03 00:54:10 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-03 00:54:10 -0400
commit3324e3472dcf5398350ba2dcd469207b8ceddd53 (patch)
treec07148bbf2a426a4e8ac310c42291af705c9183f
parentf8bfbf8c250fa24bc9e26b9bf1eb64815a5a29ee (diff)
downloadfork-ledger-3324e3472dcf5398350ba2dcd469207b8ceddd53.tar.gz
fork-ledger-3324e3472dcf5398350ba2dcd469207b8ceddd53.tar.bz2
fork-ledger-3324e3472dcf5398350ba2dcd469207b8ceddd53.zip
Removed some debug code
-rw-r--r--src/amount.cc4
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"));