From e30f934cc03395194cd72472acc9cf4b05d9e64e Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 21 Jan 2008 11:48:44 +0000 Subject: win32 compilation errors: shadowing of variable 'i' isnt a good idea git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8746 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_callerid.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp index 6098ff9e9..4faa67945 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -53,9 +53,9 @@ void RemoveFromAllAccepts(InspIRCd* ServerInstance, User* who) callerid_data* dat = GetData(i->second, false); if (!dat) continue; std::set& accepting = dat->accepting; - std::set::iterator i = accepting.find(who); - if (i == accepting.end()) continue; - accepting.erase(i); + std::set::iterator iter = accepting.find(who); + if (iter == accepting.end()) continue; + accepting.erase(iter); } } -- cgit v1.2.3