From: Nishant Chaprana Date: Wed, 26 Oct 2016 11:46:08 +0000 (+0530) Subject: Removed redundant NULL check for ad in _gl_pswd_check_box_sel() X-Git-Tag: accepted/tizen/common/20161102.121902~1 X-Git-Url: http://review.tizen.org/git/?p=apps%2Fnative%2Fug-wifi-direct.git;a=commitdiff_plain;h=10d4c21cc0e15f419ceb0a1b9f8747278fc1296e Removed redundant NULL check for ad in _gl_pswd_check_box_sel() Change-Id: Iab51cabfab3acc8816c80a8b9dcf895a29b9e7a9 Signed-off-by: Nishant Chaprana --- diff --git a/packaging/ug-setting-wifidirect-efl.spec b/packaging/ug-setting-wifidirect-efl.spec index fdbf2f8..3dc7971 100644 --- a/packaging/ug-setting-wifidirect-efl.spec +++ b/packaging/ug-setting-wifidirect-efl.spec @@ -1,6 +1,6 @@ Name: ug-setting-wifidirect-efl Summary: Wi-Fi Direct setting UI gadget -Version: 1.11.80 +Version: 1.11.81 Release: 1 Group: Applications/Network License: Flora-1.1 diff --git a/popup-wifidirect/src/wfd-app-popup-view.c b/popup-wifidirect/src/wfd-app-popup-view.c index c7e4b02..461c40e 100755 --- a/popup-wifidirect/src/wfd-app-popup-view.c +++ b/popup-wifidirect/src/wfd-app-popup-view.c @@ -938,8 +938,7 @@ static void _gl_pswd_check_box_sel(void *data, Evas_Object *obj, void *ei) elm_genlist_item_selected_set(item, EINA_FALSE); Eina_Bool state = elm_check_state_get(ck); elm_check_state_set(ck, !state); - if (ad) - _chk_changed_cb(ad->pin_entry, ck, NULL); + _chk_changed_cb(ad->pin_entry, ck, NULL); __WFD_APP_FUNC_EXIT__; }