mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
Fix clang -Wuninitialized warning.
dynamic.c:188:26: warning: variable 'i' is uninitialized when used here [-Wuninitialized] unsigned size = i; ^ dynamic.c:187:20: note: initialize the variable 'i' to silence this warning unsigned i, j; ^ = 0 1 warning generated.
This commit is contained in:
parent
4bc0aacd8b
commit
47666fb4a8
@ -184,7 +184,8 @@ static bool environ_cb_get_system_info(unsigned cmd, void *data)
|
|||||||
break;
|
break;
|
||||||
case RETRO_ENVIRONMENT_SET_SUBSYSTEM_INFO:
|
case RETRO_ENVIRONMENT_SET_SUBSYSTEM_INFO:
|
||||||
{
|
{
|
||||||
unsigned i, j;
|
unsigned i = 0;
|
||||||
|
unsigned j = 0;
|
||||||
unsigned size = i;
|
unsigned size = i;
|
||||||
const struct retro_subsystem_info *info =
|
const struct retro_subsystem_info *info =
|
||||||
(const struct retro_subsystem_info*)data;
|
(const struct retro_subsystem_info*)data;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user