Fixed CID 178160: Uninitialized variables (UNINIT)

This commit is contained in:
Andre Leiradella 2017-10-22 18:02:15 +01:00
parent ee6841e80f
commit db1b53fd21

View File

@ -296,7 +296,7 @@ uint8_t* cheevos_var_get_memory(const cheevos_var_t* var)
memory = (uint8_t*)system->mmaps.descriptors[var->bank_id].core.ptr;
else
{
retro_ctx_memory_info_t meminfo;
retro_ctx_memory_info_t meminfo = {NULL, 0, 0};
switch (var->bank_id)
{