mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Initialize the struct
This commit is contained in:
parent
c36e6395dc
commit
e8f3fc7e37
@ -4564,6 +4564,8 @@ CEvent::ReadInfo ()
|
||||
if (file == nullptr)
|
||||
goto error;
|
||||
|
||||
SDL_memset (&info, 0, sizeof (info));
|
||||
|
||||
nb = fread (&info, sizeof (DescInfo), 1, file);
|
||||
if (nb < 1)
|
||||
goto error;
|
||||
|
Loading…
x
Reference in New Issue
Block a user