summaryrefslogtreecommitdiff
path: root/src/iterators.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-17 14:28:59 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-17 15:06:15 -0600
commit68bce6c031b63c5f40d8e6565366745e9bfe47c4 (patch)
tree15af84f6edd2967e865a6f5f02062fe736403c23 /src/iterators.cc
parent0e2f15442812c254e460e81275b20881234d92c1 (diff)
downloadfork-ledger-68bce6c031b63c5f40d8e6565366745e9bfe47c4.tar.gz
fork-ledger-68bce6c031b63c5f40d8e6565366745e9bfe47c4.tar.bz2
fork-ledger-68bce6c031b63c5f40d8e6565366745e9bfe47c4.zip
Fixes for variable shadowing (16/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 bb7a587c..58e32ba6 100644
--- a/src/iterators.cc
+++ b/src/iterators.cc
@@ -190,9 +190,9 @@ void sorted_accounts_iterator::push_back(account_t& account)
#if defined(DEBUG_ON)
if (SHOW_DEBUG("accounts.sorted")) {
- foreach (account_t * account, accounts_list.back())
+ foreach (account_t * acct, accounts_list.back())
DEBUG("accounts.sorted",
- "Account (flat): " << account->fullname());
+ "Account (flat): " << acct->fullname());
}
#endif
} else {