(parse): Removed an unnecessary line of code.

This commit is contained in:
John Wiegley 2005-06-22 23:05:11 +00:00
parent 69881ae385
commit 6ecec7eb1e

3
qif.cc
View file

@ -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();