[10509] Fix some "foo initialized after bar" gcc warnings and remove some unused variables.

This commit is contained in:
Lynx3d 2010-09-20 10:07:25 +02:00
parent 8ccf9c7464
commit 47397ff19b
10 changed files with 28 additions and 35 deletions

View file

@ -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