Fix SVACE issues 12/170612/1 accepted/tizen/unified/20180222.080202 submit/tizen/20180221.115004
authorSeonah Moon <seonah1.moon@samsung.com>
Wed, 21 Feb 2018 05:13:34 +0000 (14:13 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Wed, 21 Feb 2018 05:13:42 +0000 (14:13 +0900)
unreachable code: WGID-312925, WGID-314168

Change-Id: I9a91ecf0cc0729a3b645edaa5c755d0557a2095b

sources/libraries/Common/common_utils.c
sources/ui-gadget/viewers-layout/viewer_manager.c

index 4c89624..f64f773 100755 (executable)
@@ -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;
index 1b59771..38c722d 100755 (executable)
@@ -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;