Skip to content

Commit

Permalink
Silence g_util.c warning about set but not read variable
Browse files Browse the repository at this point in the history
Probably caused by my commit on June 2 2017.

  commit 4006358
  Fix spawn/freed entity logic (specifically harvester skulls)
  • Loading branch information
zturtleman committed Jul 28, 2017
1 parent 8ebb600 commit 3971674
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/game/g_utils.c
Expand Up @@ -391,7 +391,6 @@ gentity_t *G_Spawn( void ) {
gentity_t *e;

e = NULL; // shut up warning
i = 0; // shut up warning
for ( force = 0 ; force < 2 ; force++ ) {
// if we go through all entities and can't find one to free,
// override the normal minimum times before use
Expand Down

0 comments on commit 3971674

Please sign in to comment.