mirror of
https://github.com/anope/anope.git
synced 2026-06-29 12:56:38 +02:00
Yet another variable shadowing error which only show on newer gcc versions
This commit is contained in:
+3
-3
@@ -68,11 +68,11 @@ class Transaction : public Interface
|
||||
if (interfaces.empty())
|
||||
break;
|
||||
|
||||
Interface *i = interfaces.front();
|
||||
Interface *inter = interfaces.front();
|
||||
interfaces.pop_front();
|
||||
|
||||
if (i)
|
||||
i->OnResult(reply);
|
||||
if (inter)
|
||||
inter->OnResult(reply);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user