summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Levin <risujin@fastmail.fm>2009-10-03 11:30:58 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:04 +0000
commit3f5d97fcb66cc5cbedd094f6a80d95149e00c3b4 (patch)
tree048de5b6e09fddb61ec03c223b99a16c5ba28d10
parent0055d02a82d1ca26f46d7ccdffbe78e4ad7bea9f (diff)
Quashed a pair of warnings.
-rw-r--r--src/game/g_buildable.c2
-rw-r--r--src/game/g_cmds.c2
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 ) );