Fix -Wmissing-braces warnings

This commit is contained in:
twinaphex 2015-06-12 19:25:08 +02:00
parent d1006042bd
commit ac1b292cfd
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ static int action_iterate_help(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] = {{0}};
menu_handle_t *menu = menu_driver_get_ptr();
settings_t *settings = config_get_ptr();

View File

@ -322,7 +322,7 @@ static bool content_playlist_read_file(
content_playlist_t *playlist, const char *path)
{
unsigned i;
char buf[PLAYLIST_ENTRIES][1024] = {0};
char buf[PLAYLIST_ENTRIES][1024] = {{0}};
content_playlist_entry_t *entry = NULL;
char *last = NULL;
FILE *file = fopen(path, "r");