From dc3d84be846a4983cab608f1dfc67f36a2fc869a Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 2 Dec 2010 03:37:17 +0000 Subject: [PATCH] warning-- SVN revision: 55129 --- src/edje_externals/elm_icon.c | 6 +++--- src/edje_externals/elm_label.c | 10 +++------- src/edje_externals/elm_scroller.c | 6 ++---- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/src/edje_externals/elm_icon.c b/src/edje_externals/elm_icon.c index 781b008..bce7a3e 100644 --- a/src/edje_externals/elm_icon.c +++ b/src/edje_externals/elm_icon.c @@ -53,7 +53,7 @@ external_icon_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_Exte } static Eina_Bool -external_icon_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param) +external_icon_param_get(void *data __UNUSED__, const Evas_Object *obj __UNUSED__, Edje_External_Param *param) { if (!strcmp(param->name, "icon")) { @@ -68,7 +68,7 @@ external_icon_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_Exte } static void * -external_icon_params_parse(void *data, Evas_Object *obj, const Eina_List *params) +external_icon_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params) { Elm_Params_Icon *mem; Edje_External_Param *param; @@ -90,7 +90,7 @@ external_icon_params_parse(void *data, Evas_Object *obj, const Eina_List *params } static Evas_Object *external_icon_content_get(void *data __UNUSED__, - const Evas_Object *obj, const char *content) + const Evas_Object *obj __UNUSED__, const char *content __UNUSED__) { ERR("no content"); return NULL; diff --git a/src/edje_externals/elm_label.c b/src/edje_externals/elm_label.c index 0640519..09f8970 100644 --- a/src/edje_externals/elm_label.c +++ b/src/edje_externals/elm_label.c @@ -6,7 +6,7 @@ typedef struct _Elm_Params_Label } Elm_Params_Label; static void -external_label_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__) +external_label_state_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const void *from_params, const void *to_params, float pos __UNUSED__) { const Elm_Params_Label *p; @@ -54,11 +54,9 @@ external_label_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_Ext } static void * -external_label_params_parse(void *data, Evas_Object *obj, const Eina_List *params) +external_label_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params __UNUSED__) { Elm_Params_Label *mem; - Edje_External_Param *param; - const Eina_List *l; mem = ELM_NEW(Elm_Params_Label); if (!mem) @@ -68,7 +66,7 @@ external_label_params_parse(void *data, Evas_Object *obj, const Eina_List *param } static Evas_Object *external_label_content_get(void *data __UNUSED__, - const Evas_Object *obj, const char *content) + const Evas_Object *obj __UNUSED__, const char *content __UNUSED__) { ERR("no content"); return NULL; @@ -77,8 +75,6 @@ static Evas_Object *external_label_content_get(void *data __UNUSED__, static void external_label_params_free(void *params) { - Elm_Params_Label *mem = params; - external_common_params_free(params); } diff --git a/src/edje_externals/elm_scroller.c b/src/edje_externals/elm_scroller.c index f48f595..ccec362 100644 --- a/src/edje_externals/elm_scroller.c +++ b/src/edje_externals/elm_scroller.c @@ -46,7 +46,7 @@ static Eina_Bool external_scroller_param_set(void *data __UNUSED__, } static Eina_Bool external_scroller_param_get(void *data __UNUSED__, - const Evas_Object *obj, Edje_External_Param *param) + const Evas_Object *obj __UNUSED__, Edje_External_Param *param) { if (!strcmp(param->name, "content")) { @@ -60,7 +60,7 @@ static Eina_Bool external_scroller_param_get(void *data __UNUSED__, return EINA_FALSE; } -static void * external_scroller_params_parse(void *data, Evas_Object *obj, +static void * external_scroller_params_parse(void *data __UNUSED__, Evas_Object *obj, const Eina_List *params) { Elm_Params_Scroller *mem; Edje_External_Param *param; @@ -90,8 +90,6 @@ static Evas_Object *external_scroller_content_get(void *data __UNUSED__, } static void external_scroller_params_free(void *params) { - Elm_Params_Scroller *mem = params; - external_common_params_free(params); } -- 2.7.4