summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-28 04:26:48 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-28 04:26:48 -0400
commitb4304515ff0501da47cbcd4b47c770e2bb55a83d (patch)
tree03bfa7fb21d09cffa20ded425016ad8b0aef7e21 /textual.cc
parent863485ad8ff29399fb9eafd1cfc863c5e8aa27f6 (diff)
downloadfork-ledger-b4304515ff0501da47cbcd4b47c770e2bb55a83d.tar.gz
fork-ledger-b4304515ff0501da47cbcd4b47c770e2bb55a83d.tar.bz2
fork-ledger-b4304515ff0501da47cbcd4b47c770e2bb55a83d.zip
ledger.so (the python module) now builds based on autoconf discovery
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/textual.cc b/textual.cc
index 074e1f00..0e8bdee1 100644
--- a/textual.cc
+++ b/textual.cc
@@ -158,8 +158,6 @@ bool finalize_entry(entry_t * entry)
x++)
if (! ((*x)->flags & TRANSACTION_VIRTUAL) ||
((*x)->flags & TRANSACTION_BALANCE)) {
- DEBUG_PRINT("ledger.textual.finalize",
- "item cost is " << ((*x)->cost ? *(*x)->cost : (*x)->amount));
amount_t * p = (*x)->cost ? (*x)->cost : &(*x)->amount;
if (*p)
balance += *p;
@@ -220,10 +218,6 @@ bool finalize_entry(entry_t * entry)
balance = 0U;
}
-#if 0
- DEBUG_PRINT("ledger.textual.finalize", "balance is " << balance);
-#endif
-
return ! balance;
}