Fixes for variable shadowing (11/28)
This commit is contained in:
parent
e644d364a1
commit
d5401367b8
1 changed files with 2 additions and 2 deletions
|
|
@ -209,8 +209,8 @@ void draft_t::parse_args(const value_t& args)
|
|||
tmpl->posts.back().account_mask && ! tmpl->posts.back().amount)
|
||||
tmpl->posts.back().from = true;
|
||||
|
||||
foreach (xact_template_t::post_template_t& post, tmpl->posts) {
|
||||
if (post.from)
|
||||
foreach (xact_template_t::post_template_t& post_tmpl, tmpl->posts) {
|
||||
if (post_tmpl.from)
|
||||
has_only_to = false;
|
||||
else
|
||||
has_only_from = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue