diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2020-03-29 11:46:57 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2020-03-29 11:46:57 +0200 |
commit | b2b602040de53f1f4e1905e507e0aa740928f3e9 (patch) | |
tree | 6fb6f835ee7d76ca512a1d1dba505bf912cdbab1 /src/game/bg_misc.c | |
parent | 95aac45e9a1e93b3016d7d221b4d8b43e3b556c4 (diff) |
Fix compiler warnings
Mostly a metric ton of unused variables
Diffstat (limited to 'src/game/bg_misc.c')
-rw-r--r-- | src/game/bg_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/bg_misc.c b/src/game/bg_misc.c index fd50509..cb41601 100644 --- a/src/game/bg_misc.c +++ b/src/game/bg_misc.c @@ -4964,7 +4964,7 @@ Check if a weapon has full ammo */ qboolean BG_WeaponIsFull( weapon_t weapon, int stats[ ], int ammo, int clips ) { - int maxAmmo, maxClips; + int maxAmmo = 0, maxClips = 0; BG_FindAmmoForWeapon( weapon, &maxAmmo, &maxClips ); |