Skip to content
Permalink
Browse files

Core/Gossip: Fix warning

explicitly assigning value of variable of type 'int32' (aka 'int') to itself
  • Loading branch information...
AbraKabastard committed May 28, 2019
1 parent 3cd1ed1 commit be9e80434f24d6622d7db0042f21dbbdd05abfa9
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/game/GossipDef.cpp
@@ -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)

This comment has been minimized.

Copy link
@talamortis

talamortis Jun 2, 2019

Contributor

why not remove this?? since its not needed

{
menuItemId = menuItemId;
break;
}

menuItemId = itr->first + 1;
}

0 comments on commit be9e804

Please sign in to comment.
You can’t perform that action at this time.