Silence warning and gets rid of unused variable
This commit is contained in:
parent
e0537b786d
commit
d84ba910b1
|
@ -1750,10 +1750,12 @@ bool config_load_override(void)
|
|||
*/
|
||||
bool config_unload_override(void)
|
||||
{
|
||||
global_t *global = global_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
global_t *global = global_get_ptr();
|
||||
|
||||
*global->append_config_path = NULL;
|
||||
if (!global)
|
||||
return false;
|
||||
|
||||
*global->append_config_path = '\0';
|
||||
if (config_load_file(global->config_path, false))
|
||||
{
|
||||
RARCH_LOG("Configuration overrides unloaded, original configuration reset\n");
|
||||
|
|
Loading…
Reference in New Issue