mirror of
https://github.com/OregonCore/OregonCore
synced 2026-08-18 00:23:08 -04:00
Core/Gossip: Fix warning
explicitly assigning value of variable of type 'int32' (aka 'int') to itself
This commit is contained in:
parent
3cd1ed19c7
commit
be9e80434f
1 changed files with 0 additions and 3 deletions
|
|
@ -46,10 +46,7 @@ void GossipMenu::AddMenuItem(int32 menuItemId, uint8 icon, std::string const& me
|
|||
for (GossipMenuItemContainer::const_iterator itr = _menuItems.begin(); itr != _menuItems.end(); ++itr)
|
||||
{
|
||||
if (int32(itr->first) > menuItemId)
|
||||
{
|
||||
menuItemId = menuItemId;
|
||||
break;
|
||||
}
|
||||
|
||||
menuItemId = itr->first + 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue