From 6ecec7eb1e670dd31b670287d577980a69c9ce28 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 22 Jun 2005 23:05:11 +0000 Subject: (parse): Removed an unnecessary line of code. --- qif.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qif.cc') diff --git a/qif.cc b/qif.cc index a6be039d..702e2b1d 100644 --- a/qif.cc +++ b/qif.cc @@ -176,8 +176,9 @@ unsigned int qif_parser_t::parse(std::istream& in, } transaction_t * nxact = new transaction_t(other); + // The amount doesn't need to be set because the code below will + // balance this transaction against the other. entry->add_transaction(nxact); - nxact->amount.negate(); if (journal->add_entry(entry.get())) { entry.release(); -- cgit v1.2.3