summaryrefslogtreecommitdiff
path: root/src/iterators.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-17 14:29:05 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-17 15:06:17 -0600
commit87b5f6ec50e3d4d5cda4afbb8b6caf54d0ee5863 (patch)
treeb2c19628b80dbb600b53065c5319693e8ac6c7d3 /src/iterators.cc
parent68bce6c031b63c5f40d8e6565366745e9bfe47c4 (diff)
downloadfork-ledger-87b5f6ec50e3d4d5cda4afbb8b6caf54d0ee5863.tar.gz
fork-ledger-87b5f6ec50e3d4d5cda4afbb8b6caf54d0ee5863.tar.bz2
fork-ledger-87b5f6ec50e3d4d5cda4afbb8b6caf54d0ee5863.zip
Fixes for variable shadowing (17/28)
Diffstat (limited to 'src/iterators.cc')
-rw-r--r--src/iterators.cc4
1 files changed, 2 insertions, 2 deletions
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
}