diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-17 14:28:33 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-17 15:06:12 -0600 |
commit | 3fd0c4229c3f7afb7a5cd0846655128283cc1f7a (patch) | |
tree | cff6f187cbce3a38b9fd4366da68924cddba4193 /src/filters.cc | |
parent | 3ce3aaf025b1e33dbb214b4fc419a5c14faecafa (diff) | |
download | fork-ledger-3fd0c4229c3f7afb7a5cd0846655128283cc1f7a.tar.gz fork-ledger-3fd0c4229c3f7afb7a5cd0846655128283cc1f7a.tar.bz2 fork-ledger-3fd0c4229c3f7afb7a5cd0846655128283cc1f7a.zip |
Fixes for variable shadowing (14/28)
Diffstat (limited to 'src/filters.cc')
-rw-r--r-- | src/filters.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filters.cc b/src/filters.cc index 5bad0414..e0c07bf3 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -902,13 +902,13 @@ void subtotal_posts::operator()(post_t& post) post.reported_account()->xdata().add_flags(ACCOUNT_EXT_HAS_UNB_VIRTUALS); } -void interval_posts::report_subtotal(const date_interval_t& interval) +void interval_posts::report_subtotal(const date_interval_t& ival) { - if (last_post && interval) { + if (last_post && ival) { if (exact_periods) subtotal_posts::report_subtotal(); else - subtotal_posts::report_subtotal(NULL, interval); + subtotal_posts::report_subtotal(NULL, ival); } last_post = NULL; |