summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2007-03-22 00:08:00 +0000
committerTim Angus <tim@ngus.net>2007-03-22 00:08:00 +0000
commit8ca72e6747e916186415d6b4158676e411fbbb5e (patch)
treef045318637d4e00715be5875479727a8452f2219 /src/game/g_cmds.c
parentd899c25c571ed061bba9725cf7b35d492cc6e518 (diff)
* Fixes to some GCC 4 warnings
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r--src/game/g_cmds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index c5a115d0..a139a9a8 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -680,7 +680,7 @@ void Cmd_Team_f( gentity_t *ent )
if( level.alienTeamLocked )
{
trap_SendServerCommand( ent-g_entities,
- va( "print \"Alien team has been ^1LOCKED\n\"", s ) );
+ va( "print \"Alien team has been ^1LOCKED\n\"" ) );
return;
}
else if( level.humanTeamLocked )
@@ -703,7 +703,7 @@ void Cmd_Team_f( gentity_t *ent )
if( level.humanTeamLocked )
{
trap_SendServerCommand( ent-g_entities,
- va( "print \"Human team has been ^1LOCKED\n\"", s ) );
+ va( "print \"Human team has been ^1LOCKED\n\"" ) );
return;
}
else if( level.alienTeamLocked )
@@ -834,7 +834,7 @@ void G_Say( gentity_t *ent, gentity_t *target, int mode, const char *chatText )
Com_sprintf( prefix, sizeof( prefix ), "[H] ");
}
else
- Com_sprintf( prefix, sizeof( prefix ), "");
+ prefix[ 0 ] = '\0';
switch( mode )
{