summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-21 06:23:10 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-21 06:23:10 -0400
commit225acd14e57a0a476ce022a7c5703a8f1cee34ef (patch)
treeafb1578bd75b05a8594f5aac20b7d551e32c4fd1 /textual.cc
parent9f5cb900e58653de6fd4f2983d3dcbe23662c35d (diff)
downloadfork-ledger-225acd14e57a0a476ce022a7c5703a8f1cee34ef.tar.gz
fork-ledger-225acd14e57a0a476ce022a7c5703a8f1cee34ef.tar.bz2
fork-ledger-225acd14e57a0a476ce022a7c5703a8f1cee34ef.zip
removed some redundant code
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/textual.cc b/textual.cc
index 51d221cb..80a21a61 100644
--- a/textual.cc
+++ b/textual.cc
@@ -165,7 +165,7 @@ bool finalize_entry(entry_t * entry)
// determine its price by dividing the unit count into the value of
// 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();
x != entry->transactions.end();
x++) {