summaryrefslogtreecommitdiff
path: root/src/journal.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2013-05-19 02:06:45 -0500
committerJohn Wiegley <johnw@newartisans.com>2013-05-19 02:14:27 -0500
commitdb35e5c8fccf965c7383bebcfca8f7c3ad681d3b (patch)
tree945181016d58b48b2de6d60bf04a87cd39d6b18c /src/journal.cc
parent0ab56f5d85ca20005e60eeafc2a7a2ce169689ee (diff)
downloadfork-ledger-db35e5c8fccf965c7383bebcfca8f7c3ad681d3b.tar.gz
fork-ledger-db35e5c8fccf965c7383bebcfca8f7c3ad681d3b.tar.bz2
fork-ledger-db35e5c8fccf965c7383bebcfca8f7c3ad681d3b.zip
Resolve new compiler warnings from Clang
Diffstat (limited to 'src/journal.cc')
-rw-r--r--src/journal.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/journal.cc b/src/journal.cc
index c4c8fd98..3e2ecbea 100644
--- a/src/journal.cc
+++ b/src/journal.cc
@@ -134,9 +134,9 @@ account_t * journal_t::register_account(const string& name, post_t * post,
// that can be expanded successfully
size_t colon = name.find(':');
if(colon != string::npos) {
- accounts_map::const_iterator i = account_aliases.find(name.substr(0, colon));
- if (i != account_aliases.end()) {
- result = find_account((*i).second->fullname() + name.substr(colon));
+ accounts_map::const_iterator j = account_aliases.find(name.substr(0, colon));
+ if (j != account_aliases.end()) {
+ result = find_account((*j).second->fullname() + name.substr(colon));
}
}
}