From 432f466e8569f4c0dbcfdb68d4fe74b51dfbd420 Mon Sep 17 00:00:00 2001 From: twinaphex <libretro@gmail.com> Date: Sun, 25 Sep 2016 05:09:41 +0200 Subject: [PATCH] Cleanup parse_config_file --- configuration.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configuration.c b/configuration.c index 6c01dd34ac..c7e037f926 100644 --- a/configuration.c +++ b/configuration.c @@ -2564,8 +2564,6 @@ bool config_load_shader_preset(void) static void parse_config_file(void) { - bool ret = config_load_file(path_get_config(), false, config_get_ptr()); - if (!path_is_config_empty()) { RARCH_LOG("Config: loading config from: %s.\n", path_get_config()); @@ -2577,7 +2575,7 @@ static void parse_config_file(void) RARCH_LOG("Config: found default config: %s.\n", path_get_config()); } - if (ret) + if (config_load_file(path_get_config(), false, config_get_ptr())) return; RARCH_ERR("Config: couldn't find config at path: \"%s\"\n", path_get_config());