seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=53ccaffb63aefc544199961e962c26aa9a9cb6fd
commit 53ccaffb63aefc544199961e962c26aa9a9cb6fd Author: Jaeun Choi <jaeun12.c...@samsung.com> Date: Tue Apr 1 22:20:58 2014 +0900 calendar, colorselector, diskselector: fix build warnings Summary: This patch fixed build warnings in calendar, colorselector and diskselector. Test Plan: make Reviewers: Hermet Differential Revision: https://phab.enlightenment.org/D685 --- src/lib/elm_calendar.c | 4 ++-- src/lib/elm_colorselector.c | 6 +----- src/lib/elm_diskselector.c | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/lib/elm_calendar.c b/src/lib/elm_calendar.c index deccb47..b22cc94 100644 --- a/src/lib/elm_calendar.c +++ b/src/lib/elm_calendar.c @@ -858,7 +858,7 @@ static Eina_Bool _key_action_move(Evas_Object *obj, const char *params) { ELM_CALENDAR_DATA_GET(obj, sd); - char *dir = params; + const char *dir = params; if (!strcmp(dir, "prior")) { @@ -908,7 +908,7 @@ _key_action_move(Evas_Object *obj, const char *params) } EOLIAN static Eina_Bool -_elm_calendar_elm_widget_event(Eo *obj, Elm_Calendar_Data *sd, Evas_Object *src, Evas_Callback_Type type, void *event_info) +_elm_calendar_elm_widget_event(Eo *obj, Elm_Calendar_Data *sd EINA_UNUSED, Evas_Object *src, Evas_Callback_Type type, void *event_info) { (void) src; Evas_Event_Key_Down *ev = event_info; diff --git a/src/lib/elm_colorselector.c b/src/lib/elm_colorselector.c index d908a79..e94d86e 100644 --- a/src/lib/elm_colorselector.c +++ b/src/lib/elm_colorselector.c @@ -1670,7 +1670,7 @@ _key_action_move(Evas_Object *obj, const char *params) Eina_List *cl = NULL; Elm_Color_Item *item = NULL; char colorbar_s[128]; - char *dir = params; + const char *dir = params; if (!strcmp(dir, "left")) { @@ -1764,10 +1764,6 @@ EOLIAN static Eina_Bool _elm_colorselector_elm_widget_event(Eo *obj, Elm_Colorselector_Data *sd, Evas_Object *src, Evas_Callback_Type type, void *event_info) { Evas_Event_Key_Down *ev = event_info; - Eina_List *cl = NULL; - Elm_Color_Item *item = NULL; - char colorbar_s[128]; - (void) src; if (elm_widget_disabled_get(obj)) return EINA_FALSE; diff --git a/src/lib/elm_diskselector.c b/src/lib/elm_diskselector.c index 2193cfb..4c24bf5 100644 --- a/src/lib/elm_diskselector.c +++ b/src/lib/elm_diskselector.c @@ -931,7 +931,7 @@ _key_action_move(Evas_Object *obj, const char *params) ELM_DISKSELECTOR_DATA_GET(obj, sd); Elm_Diskselector_Item *it = NULL; Eina_List *l = NULL; - char *dir = params; + const char *dir = params; if (!strcmp(dir, "prev")) { --