From 87be2ce379f6d25f769038b6b5be0da25596392f Mon Sep 17 00:00:00 2001 From: SangHyeon Jade Lee Date: Wed, 2 Aug 2017 14:45:19 +0900 Subject: [PATCH] genlist : fix unused values and parameters Change-Id: Ic8bb3e04c275032afdfc26fefdae68df1f4a03aa Signed-off-by: SangHyeon Jade Lee --- src/lib/elm_genlist.c | 1 - src/mobile_lib/elm_genlist.c | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 344e507..ebf2929 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -5937,7 +5937,6 @@ _elm_genlist_elm_widget_screen_reader(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, Item_Block *itb; Eina_Bool done = EINA_FALSE; Evas_Object *content = NULL; - Eina_List *l; EINA_INLIST_FOREACH(sd->blocks, itb) { diff --git a/src/mobile_lib/elm_genlist.c b/src/mobile_lib/elm_genlist.c index 656863c..563c55f 100644 --- a/src/mobile_lib/elm_genlist.c +++ b/src/mobile_lib/elm_genlist.c @@ -164,7 +164,7 @@ static const char SIGNAL_BG_CHANGE[] = "bg_color_change"; static const char SIGNAL_ITEM_HIGHLIGHTED[] = "elm,state,highlighted"; static const char SIGNAL_ITEM_UNHIGHLIGHTED[] = "elm,state,unhighlighted"; static const char SIGNAL_FOCUS_BG_SHOW[] = "elm,state,focus_bg,show"; -static const char SIGNAL_FOCUS_BG_HIDE[] = "elm,state,focus_bg,hide"; +//static const char SIGNAL_FOCUS_BG_HIDE[] = "elm,state,focus_bg,hide"; typedef enum { @@ -8839,14 +8839,14 @@ _elm_genlist_tree_effect_enabled_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd E } EOLIAN static void -_elm_genlist_focus_on_selection_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, Eina_Bool enabled) +_elm_genlist_focus_on_selection_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd EINA_UNUSED, Eina_Bool enabled) { // Need to Implemented //sd->focus_on_selection_enabled = !!enabled; } EOLIAN static Eina_Bool -_elm_genlist_focus_on_selection_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_focus_on_selection_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd EINA_UNUSED) { // Need to Implemented //return sd->focus_on_selection_enabled; -- 2.7.4