From 39716745f9ffc7b04356be23b53669890d67ec5b Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Fri, 28 Jul 2017 17:24:34 -0500 Subject: [PATCH] Silence g_util.c warning about set but not read variable Probably caused by my commit on June 2 2017. commit 4006358492b800db0602ed0eca600166caec22e4 Fix spawn/freed entity logic (specifically harvester skulls) --- code/game/g_utils.c | 1 - 1 file changed, 1 deletion(-) diff --git a/code/game/g_utils.c b/code/game/g_utils.c index bcc1200d..d0e407ff 100644 --- a/code/game/g_utils.c +++ b/code/game/g_utils.c @@ -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