diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-07 18:41:52 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-07 18:41:52 -0400 |
commit | 1de748fc133b005f44ca0a3fe496aede3ae4c35d (patch) | |
tree | 4c3916250dc457a96de9ea179dc7d7372452eb74 /src/filters.cc | |
parent | 08bc27ff0dae8183b540d30dd9c3fe3b3efffeda (diff) | |
download | fork-ledger-1de748fc133b005f44ca0a3fe496aede3ae4c35d.tar.gz fork-ledger-1de748fc133b005f44ca0a3fe496aede3ae4c35d.tar.bz2 fork-ledger-1de748fc133b005f44ca0a3fe496aede3ae4c35d.zip |
Removed an unnecessary boolean test.
Diffstat (limited to 'src/filters.cc')
-rw-r--r-- | src/filters.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters.cc b/src/filters.cc index 45c3fdaa..a0d65478 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -309,7 +309,7 @@ void collapse_xacts::operator()(xact_t& xact) // If we've reached a new entry, report on the subtotal // accumulated thus far. - if (last_entry && last_entry != xact.entry && count > 0) + if (last_entry != xact.entry && count > 0) report_subtotal(); xact.add_to_value(subtotal); |