Fixes for variable shadowing (16/28)

This commit is contained in:
John Wiegley 2012-02-17 14:28:59 -06:00
parent 0e2f154428
commit 68bce6c031

View file

@ -190,9 +190,9 @@ void sorted_accounts_iterator::push_back(account_t& account)
#if defined(DEBUG_ON) #if defined(DEBUG_ON)
if (SHOW_DEBUG("accounts.sorted")) { if (SHOW_DEBUG("accounts.sorted")) {
foreach (account_t * account, accounts_list.back()) foreach (account_t * acct, accounts_list.back())
DEBUG("accounts.sorted", DEBUG("accounts.sorted",
"Account (flat): " << account->fullname()); "Account (flat): " << acct->fullname());
} }
#endif #endif
} else { } else {