Remove some unused variables found by gcc 4.6.

master
cybersphinx 2011-02-14 19:33:46 +01:00
parent 577cbbf874
commit b29fe379f8
2 changed files with 0 additions and 15 deletions

View File

@ -2801,13 +2801,6 @@ bool calcDroidMuzzleBaseLocation(DROID *psDroid, Vector3i *muzzle, int weapon_sl
if (psBodyImd && psBodyImd->nconnectors)
{
Vector3i barrel(0, 0, 0);
iIMDShape *psWeaponImd = 0, *psMountImd = 0;
if (psDroid->asWeaps[weapon_slot].nStat)
{
psMountImd = WEAPON_MOUNT_IMD(psDroid, weapon_slot);
psWeaponImd = WEAPON_IMD(psDroid, weapon_slot);
}
pie_MatBegin();

View File

@ -5346,14 +5346,6 @@ bool calcStructureMuzzleBaseLocation(STRUCTURE *psStructure, Vector3i *muzzle, i
if(psShape && psShape->nconnectors)
{
Vector3i barrel(0, 0, 0);
unsigned int nWeaponStat = psStructure->asWeaps[weapon_slot].nStat;
iIMDShape *psWeaponImd = 0, *psMountImd = 0;
if (nWeaponStat)
{
psWeaponImd = asWeaponStats[nWeaponStat].pIMD;
psMountImd = asWeaponStats[nWeaponStat].pMountGraphic;
}
pie_MatBegin();