jaehyun pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c54e7500402a638fe90912871ec6464d0346a114

commit c54e7500402a638fe90912871ec6464d0346a114
Author: Jaehyun Cho <[email protected]>
Date:   Mon Sep 26 18:08:41 2016 +0900

    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.
---
 src/lib/elementary/elm_config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index 0fe52b8..4661611 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);
 }
 

-- 


Reply via email to