diff --git a/src/iterators.cc b/src/iterators.cc index 58e32ba6..b398646e 100644 --- a/src/iterators.cc +++ b/src/iterators.cc @@ -223,8 +223,8 @@ void sorted_accounts_iterator::sort_accounts(account_t& account, #if defined(DEBUG_ON) if (SHOW_DEBUG("accounts.sorted")) { - foreach (account_t * account, deque) - DEBUG("accounts.sorted", "Account: " << account->fullname()); + foreach (account_t * acct, deque) + DEBUG("accounts.sorted", "Account: " << acct->fullname()); } #endif }