From: Seonah Moon Date: Wed, 21 Feb 2018 05:13:34 +0000 (+0900) Subject: Fix SVACE issues X-Git-Tag: accepted/tizen/unified/20180222.080202^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c5e52ba3fdb8c9c2aecb7ff5df9c08af2668f98;p=apps%2Fnative%2Fug-wifi-efl.git Fix SVACE issues unreachable code: WGID-312925, WGID-314168 Change-Id: I9a91ecf0cc0729a3b645edaa5c755d0557a2095b --- diff --git a/sources/libraries/Common/common_utils.c b/sources/libraries/Common/common_utils.c index 4c89624..f64f773 100755 --- a/sources/libraries/Common/common_utils.c +++ b/sources/libraries/Common/common_utils.c @@ -248,7 +248,6 @@ void common_utils_get_device_icon(wifi_device_info_t *device_info, char **icon_p g_strlcat(buf, "_01", sizeof(buf)); break; case SIGNAL_STRENGTH_TYPE_VERY_WEAK: - case SIGNAL_STRENGTH_TYPE_NULL: default: g_strlcat(buf, "_00", sizeof(buf)); break; diff --git a/sources/ui-gadget/viewers-layout/viewer_manager.c b/sources/ui-gadget/viewers-layout/viewer_manager.c index 1b59771..38c722d 100755 --- a/sources/ui-gadget/viewers-layout/viewer_manager.c +++ b/sources/ui-gadget/viewers-layout/viewer_manager.c @@ -201,9 +201,6 @@ void power_control(void) POPUP_OPTION_POWER_ON_FAILED_TETHERING_AP_OCCUPIED, NULL); break; #endif - case WLAN_MANAGER_ERR_IN_PROGRESS: - /* Do nothing */ - break; default: viewer_manager_header_mode_set(HEADER_MODE_OFF); @@ -231,10 +228,6 @@ void power_control(void) } break; - case WLAN_MANAGER_ERR_IN_PROGRESS: - /* Do nothing */ - break; - default: INFO_LOG(UG_NAME_NORMAL, "power off failed. ret = %d", ret); break;