diff options
author | John Wiegley <johnw@newartisans.com> | 2013-05-19 02:06:45 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2013-05-19 02:14:27 -0500 |
commit | db35e5c8fccf965c7383bebcfca8f7c3ad681d3b (patch) | |
tree | 945181016d58b48b2de6d60bf04a87cd39d6b18c /src/journal.cc | |
parent | 0ab56f5d85ca20005e60eeafc2a7a2ce169689ee (diff) | |
download | fork-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.cc | 6 |
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)); } } } |