From 1fe80184a04d1b519e9891687b8317bfdfcac710 Mon Sep 17 00:00:00 2001 From: Cheoleun Moon Date: Tue, 18 May 2021 19:02:54 +0900 Subject: [PATCH] Comment unreachable codes Change-Id: Ic2d3df326160ed3a28ca137aa5f094bc51b0f773 Signed-off-by: Cheoleun Moon --- ui-gadget/viewer_manager.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui-gadget/viewer_manager.c b/ui-gadget/viewer_manager.c index 3562d6b..0bc6bef 100644 --- a/ui-gadget/viewer_manager.c +++ b/ui-gadget/viewer_manager.c @@ -983,6 +983,7 @@ static void __viewer_manager_setup_wizard_scan_btn_create(Evas_Object *genlist) __COMMON_FUNC_EXIT__; } +#if 0 static void viewer_manager_setup_wizard_scan_btn_set(Eina_Bool show_state) { __COMMON_FUNC_ENTER__; @@ -998,10 +999,12 @@ static void viewer_manager_setup_wizard_scan_btn_set(Eina_Bool show_state) __COMMON_FUNC_EXIT__; } +#endif static Eina_Bool viewer_manager_scan_button_set(Eina_Bool show_state) { return EINA_TRUE; //This code may reuse +#if 0 __COMMON_FUNC_ENTER__; if (manager_object == NULL) { @@ -1028,6 +1031,7 @@ static Eina_Bool viewer_manager_scan_button_set(Eina_Bool show_state) __COMMON_FUNC_EXIT__; return EINA_TRUE; +#endif } static void __ea_setup_wizard_back_cb(void *data, Evas_Object *obj, @@ -1561,6 +1565,7 @@ Evas_Object *viewer_manager_naviframe_power_item_get(void) int viewer_manager_create_scan_btn(void) { return 0; //This code may reuse again +#if 0 __COMMON_FUNC_ENTER__; if (ug_app_state->ug_type == UG_VIEW_SETUP_WIZARD || ug_app_state->ug_type == UG_VIEW_OOBE @@ -1605,6 +1610,7 @@ int viewer_manager_create_scan_btn(void) __COMMON_FUNC_EXIT__; return 0; +#endif } void viewer_manager_header_mode_set(HEADER_MODES new_mode) -- 2.7.4