gcc 4.2 clean

This commit is contained in:
Bill Currie 2007-05-31 05:58:33 +00:00 committed by Jeff Teunissen
parent e6a5994cd0
commit ce2ba56c47
7 changed files with 20 additions and 16 deletions

View file

@ -444,7 +444,7 @@ Sbar_SortTeams (void)
// find his team in the list
t[16] = 0;
strncpy (t, s->team->value, 16);
if (!t || !t[0])
if (!t[0])
continue; // not on team
for (j = 0; j < scoreboardteams; j++)
if (!strcmp (teams[j].team, t)) {