mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Silence clang warning.
menu/menu_displaylist.c:4974:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] media_detect_cd_info_t cd_info = {0}; ^ {} 1 warning generated.
This commit is contained in:
parent
25f4aa9c30
commit
371087971d
@ -4971,7 +4971,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
#ifdef HAVE_CDROM
|
||||
case DISPLAYLIST_CDROM_DETAIL_INFO:
|
||||
{
|
||||
media_detect_cd_info_t cd_info = {0};
|
||||
media_detect_cd_info_t cd_info = {{0}};
|
||||
char file_path[PATH_MAX_LENGTH];
|
||||
RFILE *file;
|
||||
char drive = info->path[0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user