[ioquake3] 06/21: Silence g_util.c warning about set but not read variable

Simon McVittie smcv at debian.org
Fri Aug 4 20:39:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit 39716745f9ffc7b04356be23b53669890d67ec5b
Author: Zack Middleton <zack at cloemail.com>
Date:   Fri Jul 28 17:24:34 2017 -0500

    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 bcc1200..d0e407f 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git



More information about the Pkg-games-commits mailing list