Fixes for variable shadowing (14/28)
This commit is contained in:
parent
3ce3aaf025
commit
3fd0c4229c
1 changed files with 3 additions and 3 deletions
|
|
@ -902,13 +902,13 @@ void subtotal_posts::operator()(post_t& post)
|
||||||
post.reported_account()->xdata().add_flags(ACCOUNT_EXT_HAS_UNB_VIRTUALS);
|
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)
|
if (exact_periods)
|
||||||
subtotal_posts::report_subtotal();
|
subtotal_posts::report_subtotal();
|
||||||
else
|
else
|
||||||
subtotal_posts::report_subtotal(NULL, interval);
|
subtotal_posts::report_subtotal(NULL, ival);
|
||||||
}
|
}
|
||||||
|
|
||||||
last_post = NULL;
|
last_post = NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue