From 2d45decbb0de5964f86c5dfc57f9167b17f3a71a Mon Sep 17 00:00:00 2001
From: Monster Iestyn <iestynjealous@ntlworld.com>
Date: Fri, 24 Apr 2020 20:28:01 +0100
Subject: [PATCH] remove statsec and statline as they appear to be entirely
 unused

---
 src/p_saveg.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/p_saveg.c b/src/p_saveg.c
index 15e11a27b8..e5f6cc75df 100644
--- a/src/p_saveg.c
+++ b/src/p_saveg.c
@@ -867,7 +867,6 @@ static void UnArchiveFFloors(UINT8 *get, sector_t *ss)
 static void P_NetArchiveWorld(void)
 {
 	size_t i;
-	INT32 statsec = 0, statline = 0;
 	const line_t *li = lines;
 	const line_t *spawnli = spawnlines;
 	const side_t *si;
@@ -938,8 +937,6 @@ static void P_NetArchiveWorld(void)
 
 		if (diff)
 		{
-			statsec++;
-
 			WRITEUINT16(put, i);
 			WRITEUINT8(put, diff);
 			if (diff & SD_DIFF2)
@@ -1033,7 +1030,6 @@ static void P_NetArchiveWorld(void)
 
 		if (diff)
 		{
-			statline++;
 			WRITEINT16(put, i);
 			WRITEUINT8(put, diff);
 			if (diff & LD_DIFF2)
-- 
GitLab