- Turned on warning level 4 just to see what it would produce: a lot of
warnings. At first, I was going to try and clean them all up. Then I decided that was a worthless cause and went about just acting on the ones that might actually be helpful: C4189 (local variable is initialized but not referenced) C4702 (unreachable code) C4512 (assignment operator could not be generated) SVN r420 (trunk)
This commit is contained in:
parent
c8d07f3883
commit
e1bd63e876
47 changed files with 131 additions and 128 deletions
|
|
@ -335,7 +335,6 @@ void DCajunMaster::WhatToGet (AActor *actor, AActor *item)
|
|||
if (item->IsKindOf (RUNTIME_CLASS(AWeapon)))
|
||||
{
|
||||
// FIXME
|
||||
AWeapon *weapon = static_cast<AWeapon *> (item);
|
||||
AWeapon *heldWeapon;
|
||||
|
||||
heldWeapon = static_cast<AWeapon *> (b->mo->FindInventory (item->GetClass()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue