elm_config: Remove unnecessary NULL check.

Since _config_load() is called and _elm_config is not initialized, NULL
check for _elm_config is not necessary.
The unnecessary NULL check causes false alarm because _elm_config is not
checked in other cases.
This commit is contained in:
Jaehyun Cho 2016-09-26 18:08:41 +09:00
parent 33df065681
commit c54e750040
1 changed files with 1 additions and 1 deletions

View File

@ -1877,7 +1877,7 @@ _config_flush_get(void)
_elm_recache();
_elm_clouseau_reload();
_elm_config_key_binding_hash();
if (_elm_config) _elm_win_access(_elm_config->access_mode);
_elm_win_access(_elm_config->access_mode);
ecore_event_add(ELM_EVENT_CONFIG_ALL_CHANGED, NULL, NULL, NULL);
}