* remove unused parameters (except in edje_lua.c, as i don't know the current status)

* remove unused variables


SVN revision: 41957
This commit is contained in:
Vincent Torri 2009-08-24 16:40:42 +00:00
parent 05549684f7
commit 8b2bd0c079
9 changed files with 57 additions and 72 deletions

View File

@ -52,7 +52,7 @@ _edje_part_pos_set(Edje *ed, Edje_Real_Part *ep, int mode, double pos)
}
Edje_Part_Description *
_edje_part_description_find(Edje *ed, Edje_Real_Part *rp, const char *name,
_edje_part_description_find(Edje *ed __UNUSED__, Edje_Real_Part *rp, const char *name,
double val)
{
Edje_Part *ep = rp->part;
@ -293,7 +293,7 @@ _edje_dragable_pos_set(Edje *ed, Edje_Real_Part *ep, double x, double y)
static void
_edje_part_recalc_single_rel(Edje *ed,
Edje_Real_Part *ep,
Edje_Real_Part *ep __UNUSED__,
Edje_Part_Description *desc,
Edje_Real_Part *rel1_to_x,
Edje_Real_Part *rel1_to_y,
@ -1118,7 +1118,7 @@ _edje_part_recalc_single_min_max(double sc,
Edje_Part_Description *desc,
int *minw, int *minh,
int *maxw, int *maxh,
int flags)
int flags __UNUSED__)
{
// if (flags & FLAG_X)
{
@ -1348,7 +1348,7 @@ _edje_part_recalc_single(Edje *ed,
}
static void
_edje_gradient_recalc_apply(Edje *ed, Edje_Real_Part *ep, Edje_Calc_Params *p3, Edje_Part_Description *chosen_desc)
_edje_gradient_recalc_apply(Edje *ed, Edje_Real_Part *ep, Edje_Calc_Params *p3, Edje_Part_Description *chosen_desc __UNUSED__)
{
evas_object_gradient_fill_angle_set(ep->object, p3->type.common.fill.angle);
evas_object_gradient_fill_spread_set(ep->object, p3->type.common.fill.spread);
@ -1383,7 +1383,7 @@ _edje_gradient_recalc_apply(Edje *ed, Edje_Real_Part *ep, Edje_Calc_Params *p3,
}
static void
_edje_box_recalc_apply(Edje *ed, Edje_Real_Part *ep, Edje_Calc_Params *p3, Edje_Part_Description *chosen_desc)
_edje_box_recalc_apply(Edje *ed __UNUSED__, Edje_Real_Part *ep, Edje_Calc_Params *p3, Edje_Part_Description *chosen_desc)
{
Evas_Object_Box_Layout layout;
void (*free_data)(void *data);
@ -1420,7 +1420,7 @@ _edje_box_recalc_apply(Edje *ed, Edje_Real_Part *ep, Edje_Calc_Params *p3, Edje_
}
static void
_edje_table_recalc_apply(Edje *ed, Edje_Real_Part *ep, Edje_Calc_Params *p3, Edje_Part_Description *chosen_desc)
_edje_table_recalc_apply(Edje *ed __UNUSED__, Edje_Real_Part *ep, Edje_Calc_Params *p3 __UNUSED__, Edje_Part_Description *chosen_desc)
{
evas_object_table_homogeneous_set(ep->object, chosen_desc->table.homogeneous);
evas_object_table_align_set(ep->object, chosen_desc->table.align.x, chosen_desc->table.align.y);

View File

@ -160,8 +160,6 @@ _edje_image_name_find(Evas_Object *obj, int image_id)
static void
_edje_real_part_free(Edje_Real_Part *rp)
{
Eina_List *l;
if (!rp) return;
if (rp->object)
@ -1281,7 +1279,7 @@ EAPI Eina_List *
edje_edit_style_tags_list_get(Evas_Object * obj, const char* style)
{
Eina_List *tags = NULL;
Eina_List *l, *ll;
Eina_List *l;
Edje_Style *s;
Edje_Style_Tag *t;
@ -1292,7 +1290,7 @@ edje_edit_style_tags_list_get(Evas_Object * obj, const char* style)
s = _edje_edit_style_get(ed, style);
printf("GET STYLE TAG LIST %d\n", eina_list_count(s->tags));
EINA_LIST_FOREACH(s->tags, ll, t)
EINA_LIST_FOREACH(s->tags, l, t)
tags = eina_list_append(tags, eina_stringshare_add(t->key));
return tags;
@ -3450,7 +3448,6 @@ edje_edit_image_data_add(Evas_Object *obj, const char *name, int id)
Eina_List *l;
Edje_Image_Directory_Entry *de;
Edje_Image_Directory_Entry *i, *t;
int free_id = 0;
GET_ED_OR_RETURN(0);

View File

@ -84,7 +84,7 @@ struct _Anchor
#ifdef HAVE_ECORE_IMF
static void
_edje_entry_focus_in_cb(void *data, Evas_Object *o, const char *emission, const char *source)
_edje_entry_focus_in_cb(void *data, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
{
Edje_Real_Part *rp = data;
if (!rp) return;
@ -104,7 +104,7 @@ _edje_entry_focus_in_cb(void *data, Evas_Object *o, const char *emission, const
}
static void
_edje_entry_focus_out_cb(void *data, Evas_Object *o, const char *emission, const char *source)
_edje_entry_focus_out_cb(void *data, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
{
Edje_Real_Part *rp = data;
if (!rp) return;
@ -120,7 +120,7 @@ _edje_entry_focus_out_cb(void *data, Evas_Object *o, const char *emission, const
#endif
static void
_edje_focus_in_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
_edje_focus_in_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
Edje *ed = data;
#ifdef HAVE_ECORE_IMF
@ -147,7 +147,7 @@ _edje_focus_in_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
}
static void
_edje_focus_out_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
_edje_focus_out_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
Edje *ed = data;
#ifdef HAVE_ECORE_IMF
@ -175,7 +175,7 @@ _edje_focus_out_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
}
static void
_curs_update_from_curs(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
_curs_update_from_curs(Evas_Textblock_Cursor *c, Evas_Object *o __UNUSED__, Entry *en)
{
Evas_Coord cx, cy, cw, ch;
evas_textblock_cursor_char_geometry_get(c, &cx, &cy, &cw, &ch);
@ -271,7 +271,7 @@ _curs_next(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
}
static int
_curs_line_last_get(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
_curs_line_last_get(Evas_Textblock_Cursor *c __UNUSED__, Evas_Object *o, Entry *en __UNUSED__)
{
Evas_Textblock_Cursor *cc;
int ln;
@ -376,7 +376,7 @@ _sel_start(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
}
static void
_sel_enable(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
_sel_enable(Evas_Textblock_Cursor *c __UNUSED__, Evas_Object *o __UNUSED__, Entry *en)
{
if (en->have_selection) return;
en->have_selection = EINA_TRUE;
@ -419,7 +419,7 @@ _sel_preextend(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
}
static void
_sel_clear(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
_sel_clear(Evas_Textblock_Cursor *c __UNUSED__, Evas_Object *o __UNUSED__, Entry *en)
{
en->had_sel = EINA_FALSE;
if (en->sel_start)
@ -454,7 +454,7 @@ _sel_clear(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
}
static void
_sel_update(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
_sel_update(Evas_Textblock_Cursor *c __UNUSED__, Evas_Object *o, Entry *en)
{
Eina_List *range = NULL, *l;
Sel *sel;
@ -544,7 +544,7 @@ _sel_update(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
}
static void
_edje_anchor_mouse_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
_edje_anchor_mouse_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{
Anchor *an = data;
Evas_Event_Mouse_Down *ev = event_info;
@ -576,7 +576,7 @@ _edje_anchor_mouse_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_in
}
static void
_edje_anchor_mouse_up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
_edje_anchor_mouse_up_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{
Anchor *an = data;
Evas_Event_Mouse_Up *ev = event_info;
@ -603,7 +603,7 @@ _edje_anchor_mouse_up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info
}
static void
_edje_anchor_mouse_move_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
_edje_anchor_mouse_move_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{
Anchor *an = data;
Evas_Event_Mouse_Move *ev = event_info;
@ -630,7 +630,7 @@ _edje_anchor_mouse_move_cb(void *data, Evas *e, Evas_Object *obj, void *event_in
}
static void
_edje_anchor_mouse_in_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
_edje_anchor_mouse_in_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{
Anchor *an = data;
Evas_Event_Mouse_In *ev = event_info;
@ -652,7 +652,7 @@ _edje_anchor_mouse_in_cb(void *data, Evas *e, Evas_Object *obj, void *event_info
}
static void
_edje_anchor_mouse_out_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
_edje_anchor_mouse_out_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{
Anchor *an = data;
Evas_Event_Mouse_Out *ev = event_info;
@ -674,7 +674,7 @@ _edje_anchor_mouse_out_cb(void *data, Evas *e, Evas_Object *obj, void *event_inf
}
static void
_anchors_update(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
_anchors_update(Evas_Textblock_Cursor *c __UNUSED__, Evas_Object *o, Entry *en)
{
Eina_List *l, *ll, *range;
Evas_Coord x, y, w, h;
@ -771,7 +771,7 @@ _anchors_update(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
}
static void
_anchors_clear(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
_anchors_clear(Evas_Textblock_Cursor *c __UNUSED__, Evas_Object *o __UNUSED__, Entry *en)
{
while (en->anchorlist)
{
@ -876,7 +876,7 @@ _anchors_get(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
static void
_range_del(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
_range_del(Evas_Textblock_Cursor *c __UNUSED__, Evas_Object *o, Entry *en)
{
Evas_Textblock_Cursor *c1;
@ -924,7 +924,7 @@ _backspace(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
}
static void
_edje_key_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
_edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{
Edje *ed = data;
Evas_Event_Key_Down *ev = event_info;
@ -1238,7 +1238,7 @@ _edje_key_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
}
static void
_edje_key_up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
_edje_key_up_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
Edje *ed = data;
Edje_Real_Part *rp = ed->focused_part;
@ -1266,7 +1266,7 @@ _edje_key_up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
}
static void
_edje_part_mouse_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
_edje_part_mouse_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{
Edje_Real_Part *rp = data;
Evas_Event_Mouse_Down *ev = event_info;
@ -1402,7 +1402,7 @@ _edje_part_mouse_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info
}
static void
_edje_part_mouse_up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
_edje_part_mouse_up_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{
Edje_Real_Part *rp = data;
Evas_Event_Mouse_Up *ev = event_info;
@ -1410,7 +1410,6 @@ _edje_part_mouse_up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
Evas_Coord x, y, w, h;
Eina_Bool multiline;
Evas_Textblock_Cursor *tc;
Eina_Bool dosel = EINA_FALSE;
if (ev->button != 1) return;
if (!rp) return;
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
@ -1466,7 +1465,7 @@ _edje_part_mouse_up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
}
static void
_edje_part_mouse_move_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
_edje_part_mouse_move_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
{
Edje_Real_Part *rp = data;
Evas_Event_Mouse_Move *ev = event_info;
@ -1554,7 +1553,6 @@ _edje_entry_real_part_init(Edje_Real_Part *rp)
#ifdef HAVE_ECORE_IMF
const char *ctx_id;
const Ecore_IMF_Context_Info *ctx_info;
Evas *evas;
#endif
en = calloc(1, sizeof(Entry));
@ -1890,7 +1888,7 @@ _edje_entry_select_abort(Edje_Real_Part *rp)
#ifdef HAVE_ECORE_IMF
static int
_edje_entry_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx, char **text, int *cursor_pos)
_edje_entry_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx __UNUSED__, char **text, int *cursor_pos)
{
Edje_Real_Part *rp = data;
Entry *en;
@ -1917,16 +1915,12 @@ _edje_entry_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx, char
}
static int
_edje_entry_imf_event_commit_cb(void *data, int type, void *event)
_edje_entry_imf_event_commit_cb(void *data, int type __UNUSED__, void *event)
{
Edje* ed = data;
Edje_Real_Part *rp = ed->focused_part;
Entry *en;
Ecore_IMF_Event_Commit *ev = event;
int cursor_pos, composition_pos;
int start_pos, end_pos;
Eina_Bool selecting;
Eina_Bool changed = EINA_FALSE;
int i;
if (!rp) return 1;
@ -1957,18 +1951,14 @@ _edje_entry_imf_event_commit_cb(void *data, int type, void *event)
}
static int
_edje_entry_imf_event_changed_cb(void *data, int type, void *event)
_edje_entry_imf_event_changed_cb(void *data, int type __UNUSED__, void *event)
{
Edje* ed = data;
Edje_Real_Part *rp = ed->focused_part;
Entry *en;
int cursor_pos;
int composition_pos, length;
int start_pos, end_pos;
Eina_Bool selecting = EINA_FALSE;
Eina_Bool changed = EINA_FALSE;
int length;
Ecore_IMF_Event_Commit *ev = event;
Evas_Textblock_Cursor *start_cur, *end_cur;
int i;
char *preedit_string;
@ -2019,7 +2009,7 @@ _edje_entry_imf_event_changed_cb(void *data, int type, void *event)
}
static int
_edje_entry_imf_event_delete_surrounding_cb(void *data, int type, void *event)
_edje_entry_imf_event_delete_surrounding_cb(void *data, int type __UNUSED__, void *event)
{
Edje *ed = data;
Edje_Real_Part *rp = ed->focused_part;

View File

@ -931,7 +931,7 @@ _edje_file_del(Edje *ed)
* Used to free the cached data values that are stored in the data_cache
* hash table.
*/
static Eina_Bool data_cache_free(const Eina_Hash *hash, const void *key, void *data, void *fdata)
static Eina_Bool data_cache_free(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata)
{
Edje_File *edf;
@ -1148,7 +1148,7 @@ _edje_collection_free_part_description_free(Edje_Part_Description *desc, unsigne
}
static Eina_Bool
_edje_file_collection_hash_foreach(const Eina_Hash *hash, const void *key, void *data, void *fdata)
_edje_file_collection_hash_foreach(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata)
{
Edje_File *edf;
Edje_Part_Collection *coll;

View File

@ -91,13 +91,13 @@ edje_message_signal_process(void)
}
static int
_edje_dummy_timer(void *data)
_edje_dummy_timer(void *data __UNUSED__)
{
return 0;
}
static void
_edje_job(void *data)
_edje_job(void *data __UNUSED__)
{
if (job_loss_timer)
{
@ -109,7 +109,7 @@ _edje_job(void *data)
}
static int
_edje_job_loss_timer(void *data)
_edje_job_loss_timer(void *data __UNUSED__)
{
job_loss_timer = NULL;
if (job) job = NULL;

View File

@ -191,8 +191,7 @@ _oid_free(Oid * oid)
}
static Eina_Bool
_oid_freeall_cb(const Eina_Hash * hash, const void *key, void *data,
void *fdata)
_oid_freeall_cb(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata __UNUSED__)
{
Oid *oid = data;
@ -213,8 +212,7 @@ _oid_freeall(Edje * ed)
}
static Eina_Bool
_oid_moveall_cb(const Eina_Hash * hash, const void *key, void *data,
void *fdata)
_oid_moveall_cb(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata __UNUSED__)
{
Oid *oid = data;
@ -252,7 +250,7 @@ _exp_e_obj_del(Embryo_Program * ep, Embryo_Cell * params)
}
static Embryo_Cell
_exp_e_obj_rect_add(Embryo_Program * ep, Embryo_Cell * params)
_exp_e_obj_rect_add(Embryo_Program * ep, Embryo_Cell * params __UNUSED__)
{
Edje *ed = embryo_program_data_get(ep);

View File

@ -7,7 +7,7 @@
#include "edje_private.h"
static int
_edje_font_is_embedded(Edje_File *edf, char *font)
_edje_font_is_embedded(Edje_File *edf, char *font __UNUSED__)
{
if (!edf->font_dir) return 0;
return 1;

View File

@ -421,7 +421,7 @@ edje_color_class_list(void)
}
static Eina_Bool
_edje_color_class_list_foreach(const Eina_Hash *hash, const void *key, void *data, void *fdata)
_edje_color_class_list_foreach(const Eina_Hash *hash __UNUSED__, const void *key, void *data __UNUSED__, void *fdata)
{
Edje_List_Foreach_Data *fd;
@ -710,7 +710,7 @@ edje_text_class_list(void)
}
static Eina_Bool
_edje_text_class_list_foreach(const Eina_Hash *hash, const void *key, void *data, void *fdata)
_edje_text_class_list_foreach(const Eina_Hash *hash __UNUSED__, const void *key, void *data __UNUSED__, void *fdata)
{
Edje_List_Foreach_Data *fd;
@ -1756,7 +1756,7 @@ edje_box_layout_register(const char *name, Evas_Object_Box_Layout func, void *(*
* Causes the edje to regurgitate a previously swallowed object. :)
*/
EAPI void
edje_object_part_unswallow(Evas_Object *obj, Evas_Object *obj_swallow)
edje_object_part_unswallow(Evas_Object *obj __UNUSED__, Evas_Object *obj_swallow)
{
Edje_Real_Part *rp;
@ -3139,7 +3139,7 @@ _edje_color_class_member_del(Edje *ed, const char *color_class)
* and color_class hashtables.
*/
static Eina_Bool
member_list_free(const Eina_Hash *hash, const void *key, void *data, void *fdata)
member_list_free(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata __UNUSED__)
{
eina_list_free(data);
return EINA_TRUE;
@ -3155,7 +3155,7 @@ _edje_color_class_members_free(void)
}
static Eina_Bool
color_class_hash_list_free(const Eina_Hash *hash, const void *key, void *data, void *fdata)
color_class_hash_list_free(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata __UNUSED__)
{
Edje_Color_Class *cc;
@ -3249,7 +3249,7 @@ _edje_text_class_members_free(void)
}
static Eina_Bool
text_class_hash_list_free(const Eina_Hash *hash, const void *key, void *data, void *fdata)
text_class_hash_list_free(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata __UNUSED__)
{
Edje_Text_Class *tc;

View File

@ -44,7 +44,7 @@ _edje_var_timer_cb(void *data)
}
static int
_edje_var_anim_cb(void *data)
_edje_var_anim_cb(void *data __UNUSED__)
{
Eina_List *l, *tl = NULL;
double t;
@ -253,7 +253,7 @@ _edje_var_string_id_get(Edje *ed, const char *string)
}
int
_edje_var_var_int_get(Edje *ed, Edje_Var *var)
_edje_var_var_int_get(Edje *ed __UNUSED__, Edje_Var *var)
{
/* auto-cast */
if (var->type == EDJE_VAR_STRING)
@ -290,7 +290,7 @@ _edje_var_var_int_get(Edje *ed, Edje_Var *var)
}
void
_edje_var_var_int_set(Edje *ed, Edje_Var *var, int v)
_edje_var_var_int_set(Edje *ed __UNUSED__, Edje_Var *var, int v)
{
/* auto-cast */
if (var->type == EDJE_VAR_STRING)
@ -322,7 +322,7 @@ _edje_var_var_int_set(Edje *ed, Edje_Var *var, int v)
}
double
_edje_var_var_float_get(Edje *ed, Edje_Var *var)
_edje_var_var_float_get(Edje *ed __UNUSED__, Edje_Var *var)
{
/* auto-cast */
if (var->type == EDJE_VAR_STRING)
@ -359,7 +359,7 @@ _edje_var_var_float_get(Edje *ed, Edje_Var *var)
}
void
_edje_var_var_float_set(Edje *ed, Edje_Var *var, double v)
_edje_var_var_float_set(Edje *ed __UNUSED__, Edje_Var *var, double v)
{
/* auto-cast */
if (var->type == EDJE_VAR_STRING)
@ -392,7 +392,7 @@ _edje_var_var_float_set(Edje *ed, Edje_Var *var, double v)
}
const char *
_edje_var_var_str_get(Edje *ed, Edje_Var *var)
_edje_var_var_str_get(Edje *ed __UNUSED__, Edje_Var *var)
{
/* auto-cast */
if (var->type == EDJE_VAR_INT)
@ -428,7 +428,7 @@ _edje_var_var_str_get(Edje *ed, Edje_Var *var)
}
void
_edje_var_var_str_set(Edje *ed, Edje_Var *var, const char *str)
_edje_var_var_str_set(Edje *ed __UNUSED__, Edje_Var *var, const char *str)
{
/* auto-cast */
if (var->type == EDJE_VAR_STRING)