Summary: This patch fixed build warnings in calendar, colorselector and diskselector.
Test Plan: make
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D685
_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"))
{
}
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;
Eina_List *cl = NULL;
Elm_Color_Item *item = NULL;
char colorbar_s[128];
- char *dir = params;
+ const char *dir = params;
if (!strcmp(dir, "left"))
{
_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;
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"))
{