Skip to content

Commit

Permalink
compile warning--
Browse files Browse the repository at this point in the history
  • Loading branch information
abma committed May 29, 2017
1 parent a4b44c4 commit cb2360a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rts/Sim/Weapons/WeaponLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ void CWeaponLoader::KillStatic() { weaponMemPool.clear(); }
void CWeaponLoader::LoadWeapons(CUnit* unit)
{
const UnitDef* unitDef = unit->unitDef;
const WeaponDef* wd = nullptr;

unit->weapons.reserve(unitDef->weapons.size());

Expand Down

0 comments on commit cb2360a

Please sign in to comment.