removed some redundant code
This commit is contained in:
parent
9f5cb900e5
commit
225acd14e5
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ bool finalize_entry(entry_t * entry)
|
||||||
// determine its price by dividing the unit count into the value of
|
// determine its price by dividing the unit count into the value of
|
||||||
// the balance. This is done for the last eligible commodity.
|
// the balance. This is done for the last eligible commodity.
|
||||||
|
|
||||||
if (! balance.amounts.empty() && balance.amounts.size() == 2)
|
if (balance.amounts.size() == 2)
|
||||||
for (transactions_list::const_iterator x = entry->transactions.begin();
|
for (transactions_list::const_iterator x = entry->transactions.begin();
|
||||||
x != entry->transactions.end();
|
x != entry->transactions.end();
|
||||||
x++) {
|
x++) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue