mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[10509] Fix some "foo initialized after bar" gcc warnings and remove some unused variables.
This commit is contained in:
parent
8ccf9c7464
commit
47397ff19b
10 changed files with 28 additions and 35 deletions
|
|
@ -751,8 +751,6 @@ void Group::StartLootRool(Creature* lootTarget, LootMethod method, Loot* loot, u
|
|||
|
||||
LootItem const& lootItem = loot->items[itemSlot];
|
||||
|
||||
ItemPrototype const* item = ObjectMgr::GetItemPrototype(lootItem.itemid);
|
||||
|
||||
Roll* r = new Roll(lootTarget->GetGUID(), method, lootItem);
|
||||
|
||||
//a vector is filled with only near party members
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue