Clear unused-but-set-variable warnings

This commit is contained in:
Alam Ed Arias 2023-10-17 23:19:38 -04:00
parent 37c65ca7e4
commit 01911e4d37

View file

@ -494,7 +494,6 @@ static void P_NetUnArchivePlayers(void)
static void P_NetArchiveWorld(void) static void P_NetArchiveWorld(void)
{ {
size_t i; size_t i;
INT32 statsec = 0, statline = 0;
const line_t *li = lines; const line_t *li = lines;
const side_t *si; const side_t *si;
UINT8 *put; UINT8 *put;
@ -587,8 +586,6 @@ static void P_NetArchiveWorld(void)
if (diff) if (diff)
{ {
statsec++;
WRITEUINT16(put, i); WRITEUINT16(put, i);
WRITEUINT8(put, diff); WRITEUINT8(put, diff);
if (diff & SD_DIFF2) if (diff & SD_DIFF2)
@ -705,7 +702,6 @@ static void P_NetArchiveWorld(void)
if (diff) if (diff)
{ {
statline++;
WRITEINT16(put, i); WRITEINT16(put, i);
WRITEUINT8(put, diff); WRITEUINT8(put, diff);
if (diff & LD_DIFF2) if (diff & LD_DIFF2)