(parse): Removed an unnecessary line of code.
This commit is contained in:
parent
69881ae385
commit
6ecec7eb1e
1 changed files with 2 additions and 1 deletions
3
qif.cc
3
qif.cc
|
|
@ -176,8 +176,9 @@ unsigned int qif_parser_t::parse(std::istream& in,
|
||||||
}
|
}
|
||||||
|
|
||||||
transaction_t * nxact = new transaction_t(other);
|
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);
|
entry->add_transaction(nxact);
|
||||||
nxact->amount.negate();
|
|
||||||
|
|
||||||
if (journal->add_entry(entry.get())) {
|
if (journal->add_entry(entry.get())) {
|
||||||
entry.release();
|
entry.release();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue