[iortcw] 77/89: All: Fix compiler warning about set but not read variable in g_util.c
Simon McVittie
smcv at debian.org
Fri Sep 8 10:44:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to tag 1.51b
in repository iortcw.
commit 73f8ca847e027d70920d94684a32c3a6e5b92193
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date: Wed Aug 2 23:17:55 2017 -0400
All: Fix compiler warning about set but not read variable in g_util.c
---
MP/code/game/g_utils.c | 1 -
SP/code/game/g_utils.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/MP/code/game/g_utils.c b/MP/code/game/g_utils.c
index 8b38f1b..b854dd7 100644
--- a/MP/code/game/g_utils.c
+++ b/MP/code/game/g_utils.c
@@ -419,7 +419,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
diff --git a/SP/code/game/g_utils.c b/SP/code/game/g_utils.c
index abc2149..ff4c615 100644
--- a/SP/code/game/g_utils.c
+++ b/SP/code/game/g_utils.c
@@ -422,7 +422,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/iortcw.git
More information about the Pkg-games-commits
mailing list