diff options
Diffstat (limited to 'src/journal.cc')
-rw-r--r-- | src/journal.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/journal.cc b/src/journal.cc index c5a9e9fc..63b99e6f 100644 --- a/src/journal.cc +++ b/src/journal.cc @@ -101,14 +101,6 @@ bool journal_t::add_entry(entry_t * entry) entries.push_back(entry); - foreach (const xact_t * xact, entry->xacts) - if (xact->cost) { - assert(xact->amount); - xact->amount.commodity().add_price(datetime_t(*entry->date(), - time_duration_t(0, 0, 0)), - *xact->cost / xact->amount.number()); - } - return true; } |