From db35e5c8fccf965c7383bebcfca8f7c3ad681d3b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 19 May 2013 02:06:45 -0500 Subject: Resolve new compiler warnings from Clang --- src/journal.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/journal.cc') 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)); } } } -- cgit v1.2.3