projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33df065
)
elm_config: Remove unnecessary NULL check.
author
Jaehyun Cho
<jae_hyun.cho@samsung.com>
Mon, 26 Sep 2016 09:08:41 +0000
(18:08 +0900)
committer
Jaehyun Cho
<jae_hyun.cho@samsung.com>
Mon, 26 Sep 2016 09:47:35 +0000
(18:47 +0900)
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.
src/lib/elementary/elm_config.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_config.c
b/src/lib/elementary/elm_config.c
index
0fe52b8
..
4661611
100644
(file)
--- 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);
}