summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/filters.cc6
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;