menu_dialog.c - prevent implicit memset

This commit is contained in:
twinaphex 2016-10-16 01:03:17 +02:00
parent 3dc0e92cca
commit ab3d3b1e3a
1 changed files with 4 additions and 1 deletions

View File

@ -98,7 +98,10 @@ int menu_dialog_iterate(char *s, size_t len, const char *label)
RETRO_DEVICE_ID_JOYPAD_X,
RETRO_DEVICE_ID_JOYPAD_Y,
};
char desc[ARRAY_SIZE(binds)][64] = {{0}};
char desc[ARRAY_SIZE(binds)][64];
for (i = 0; i < ARRAY_SIZE(binds); i++)
desc[i][0] = '\0';
for (i = 0; i < ARRAY_SIZE(binds); i++)
{