Fix -Wconditional-uninitialized warnings under Clang

This commit is contained in:
Lactozilla 2024-06-21 15:30:25 -03:00
parent a342b8b15b
commit 7c6cb9b6d6

View file

@ -1157,7 +1157,7 @@ void readgametype(MYFILE *f, INT32 num)
char gtconst[MAXLINELEN+1]; char gtconst[MAXLINELEN+1];
char gtdescription[441]; char gtdescription[441];
UINT8 newgtleftcolor, newgtrightcolor; UINT8 newgtleftcolor = 0, newgtrightcolor = 0;
boolean has_desc_colors[2] = { false, false }; boolean has_desc_colors[2] = { false, false };
gtconst[0] = '\0'; gtconst[0] = '\0';