[openjk] 06/24: Remove unused variable in JK2 mode

Simon McVittie smcv at debian.org
Sat Jan 21 21:44:01 UTC 2017


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

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

commit 947dc64db5805fb9a1feb9aabf4164648aee60c3
Author: Simon McVittie <smcv at debian.org>
Date:   Fri Oct 28 11:42:53 2016 +0100

    Remove unused variable in JK2 mode
---
 code/server/sv_snapshot.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/code/server/sv_snapshot.cpp b/code/server/sv_snapshot.cpp
index 7af54ab..149a0eb 100644
--- a/code/server/sv_snapshot.cpp
+++ b/code/server/sv_snapshot.cpp
@@ -349,7 +349,9 @@ static void SV_AddEntitiesVisibleFromPoint( vec3_t origin, clientSnapshot_t *fra
 	int		leafnum;
 	const byte *clientpvs;
 	const byte *bitvector;
+#ifndef JK2_MODE
 	qboolean sightOn = qfalse;
+#endif
 
 	// during an error shutdown message we may need to transmit
 	// the shutdown message after the server has shutdown, so

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



More information about the Pkg-games-commits mailing list