summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2016-09-26 18:08:41 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2016-09-26 18:47:35 +0900
commitc54e7500402a638fe90912871ec6464d0346a114 (patch)
tree39463b11c36c09eeb8c0ac41bc9d24e2c4f35e01
parent33df065681c3a079c618cd072bcbeadc4a3ef8ca (diff)
downloadefl-c54e7500402a638fe90912871ec6464d0346a114.tar.gz
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.
-rw-r--r--src/lib/elementary/elm_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index 0fe52b80c1..4661611fed 100644
--- a/src/lib/elementary/elm_config.c
+++ b/src/lib/elementary/elm_config.c
@@ -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);
}