From 51947319ee7ab0bed90128c41acf03e056468dd2 Mon Sep 17 00:00:00 2001
From: Louis-Antoine <lamr@free.fr>
Date: Fri, 24 Jan 2020 23:24:54 +0100
Subject: [PATCH] Fix two compiler warnings

---
 src/blua/liolib.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/blua/liolib.c b/src/blua/liolib.c
index 4ef3b42742..489a4ae162 100644
--- a/src/blua/liolib.c
+++ b/src/blua/liolib.c
@@ -268,8 +268,8 @@ static int io_openlocal (lua_State *L) {
 
 void Got_LuaFile(UINT8 **cp, INT32 playernum)
 {
-	FILE **pf;
-	boolean success = READUINT8(*cp); // The first (and only) byte indicates whether the file could be opened
+	FILE **pf = NULL;
+	UINT8 success = READUINT8(*cp); // The first (and only) byte indicates whether the file could be opened
 
 	if (playernum != serverplayer)
 	{
-- 
GitLab