G_DoPlayDemo: fix maybe unitialized warning

in this case this wouldve been fine, tho variables using the cleanup macro should always be initzialized for safety
This commit is contained in:
Alug committed 2025-11-17 21:59:21 +01:00
1 parent e46d548080
commit a994d7c050
1 file changed
+1 -1
+1 -1
View File
@@ -2536,7 +2536,7 @@ void G_DoPlayDemo(char *defdemoname)
UINT8 i, p;
lumpnum_t l;
char skin[17], color[17], *n;
CLEANUP(Z_Pfree) char *pdemoname;
CLEANUP(Z_Pfree) char *pdemoname = NULL;
UINT8 version, subversion;
UINT32 randseed;
char msg[1024];