C89 buildfix

This commit is contained in:
Brad Parker 2018-02-09 13:27:18 -05:00
parent 875ab9378d
commit bfb71f0694

View File

@ -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))
{