From: Seonah Moon Date: Wed, 15 Mar 2023 09:34:09 +0000 (+0900) Subject: Fix svace issue (Unreachable code) X-Git-Tag: accepted/tizen/8.0/unified/20231005.092355^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_unified;p=apps%2Fnative%2Fug-mobile-ap.git Fix svace issue (Unreachable code) WGID-521531 Change-Id: Ia0e23640ccd152e4263f9beb7c620d9f26c4f0c0 --- diff --git a/src/mh_view_main.c b/src/mh_view_main.c index 2bbff10..d9805dd 100755 --- a/src/mh_view_main.c +++ b/src/mh_view_main.c @@ -33,8 +33,6 @@ static void __ctx_delete_more_ctxpopup_cb(void *data, Evas *e, Evas_Object *obj, static void __create_ctxpopup_more_button(void *data, Evas_Object *obj, void *event_info); -static Eina_Bool rotate_flag = EINA_FALSE; - void _genlist_update_device_item(mh_appdata_t *ad); mh_appdata_t *g_ad = NULL; #define UPDATE_INTERVAL 1 @@ -1572,15 +1570,9 @@ static void __dismissed_more_ctxpopup_cb(void *data, Evas_Object *obj, void *eve mh_appdata_t *ad = (mh_appdata_t *)data; Evas_Object *ctx = ad->ctxpopup; + evas_object_del(ctx); + ctx = NULL; - if (!rotate_flag) { - evas_object_del(ctx); - ctx = NULL; - } else { - __ctx_move_more_ctxpopup(ctx, ad); - evas_object_show(ctx); - rotate_flag = EINA_FALSE; - } __MOBILE_AP_FUNC_EXIT__; }