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:
1 parent
e46d548080
commit
a994d7c050
1 file changed
+1
-1
+1
-1
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user