From 3f5d97fcb66cc5cbedd094f6a80d95149e00c3b4 Mon Sep 17 00:00:00 2001 From: Michael Levin Date: Sat, 3 Oct 2009 11:30:58 +0000 Subject: Quashed a pair of warnings. --- src/game/g_buildable.c | 2 +- src/game/g_cmds.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index fc119ad9..f37c64fe 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -2194,7 +2194,7 @@ void HTeslaGen_Think( gentity_t *self ) if( self->spawned && self->count < level.time ) { - vec3_t range, mins, maxs, dir; + vec3_t range, mins, maxs; int entityList[ MAX_GENTITIES ], i, num; // Communicates firing state to client diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index fcfebecf..5b802f4d 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -1950,7 +1950,7 @@ Cmd_Buy_f void Cmd_Buy_f( gentity_t *ent ) { char s[ MAX_TOKEN_CHARS ]; - int i, weapon, upgrade, maxAmmo, maxClips; + int weapon, upgrade, maxAmmo, maxClips; qboolean energyOnly; trap_Argv( 1, s, sizeof( s ) ); -- cgit