From 225acd14e57a0a476ce022a7c5703a8f1cee34ef Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 21 Aug 2004 06:23:10 -0400 Subject: removed some redundant code --- textual.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- cgit v1.2.3