From 12115c28cd66cc546d2c7ff459af64d4ffb1a272 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Tue, 26 Mar 2013 18:32:36 +0000 Subject: [PATCH] Fix the warning caused by fixing the warnings --- code/botlib/be_ai_weap.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/code/botlib/be_ai_weap.c b/code/botlib/be_ai_weap.c index def1f83c..8fab4d79 100644 --- a/code/botlib/be_ai_weap.c +++ b/code/botlib/be_ai_weap.c @@ -440,12 +440,6 @@ int BotChooseBestFightWeapon(int weaponstate, int *inventory) //=========================================================================== void BotResetWeaponState(int weaponstate) { - struct weightconfig_s *weaponweightconfig; - int *weaponweightindex; - bot_weaponstate_t *ws; - - ws = BotWeaponStateFromHandle(weaponstate); - if (!ws) return; } //end of the function BotResetWeaponState //======================================================================== //