From 7c6cb9b6d6cdf97d229f9ce3956b6560eeb033ad Mon Sep 17 00:00:00 2001 From: Lactozilla Date: Fri, 21 Jun 2024 15:30:25 -0300 Subject: [PATCH] Fix -Wconditional-uninitialized warnings under Clang --- src/deh_soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deh_soc.c b/src/deh_soc.c index 3964d0e36..9e5f28dba 100644 --- a/src/deh_soc.c +++ b/src/deh_soc.c @@ -1157,7 +1157,7 @@ void readgametype(MYFILE *f, INT32 num) char gtconst[MAXLINELEN+1]; char gtdescription[441]; - UINT8 newgtleftcolor, newgtrightcolor; + UINT8 newgtleftcolor = 0, newgtrightcolor = 0; boolean has_desc_colors[2] = { false, false }; gtconst[0] = '\0';