From f6df71ba54139894c8bffd6c602ce3a990b434cd Mon Sep 17 00:00:00 2001 From: James R Date: Fri, 21 Feb 2020 21:05:33 -0800 Subject: [PATCH] Fix NOMD5 compiling --- src/d_clisrv.c | 2 ++ src/w_wad.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 7f417b595..f5fea366f 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -3945,7 +3945,9 @@ static void HandlePacketFromPlayer(SINT8 node) INT32 netconsole; tic_t realend, realstart; UINT8 *pak, *txtpak, numtxtpak; +#ifndef NOMD5 UINT8 finalmd5[16];/* Well, it's the cool thing to do? */ +#endif txtpak = NULL; diff --git a/src/w_wad.c b/src/w_wad.c index 8b3c21d28..e96afd050 100644 --- a/src/w_wad.c +++ b/src/w_wad.c @@ -670,7 +670,9 @@ UINT16 W_InitFile(const char *filename, boolean mainfile, boolean startup) wadfile_t *wadfile; restype_t type; UINT16 numlumps = 0; +#ifndef NOMD5 size_t i; +#endif size_t packetsize; UINT8 md5sum[16]; boolean important;