mirror of
https://github.com/libretro/RetroArch
synced 2025-01-01 12:11:47 +00:00
C89 buildfix
This commit is contained in:
parent
875ab9378d
commit
bfb71f0694
@ -2368,6 +2368,7 @@ static bool config_load_file(const char *path, bool set_defaults,
|
||||
#endif
|
||||
const char *path_core = NULL;
|
||||
const char *path_config = NULL;
|
||||
const char *shader_ext = NULL;
|
||||
int bool_settings_size = sizeof(settings->bools) / sizeof(settings->bools.placeholder);
|
||||
int float_settings_size = sizeof(settings->floats) / sizeof(settings->floats.placeholder);
|
||||
int int_settings_size = sizeof(settings->ints) / sizeof(settings->ints.placeholder);
|
||||
@ -2875,8 +2876,7 @@ static bool config_load_file(const char *path, bool set_defaults,
|
||||
|
||||
config_read_keybinds_conf(conf);
|
||||
|
||||
|
||||
const char *shader_ext = path_get_extension(settings->paths.path_shader);
|
||||
shader_ext = path_get_extension(settings->paths.path_shader);
|
||||
|
||||
if (!string_is_empty(shader_ext))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user