From 3fd0c4229c3f7afb7a5cd0846655128283cc1f7a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 17 Feb 2012 14:28:33 -0600 Subject: Fixes for variable shadowing (14/28) --- src/filters.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/filters.cc') 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; -- cgit v1.2.3