From c038f9100be37a65e138a835e345c7684aae3734 Mon Sep 17 00:00:00 2001 From: raster Date: Tue, 28 Feb 2012 11:11:23 +0000 Subject: [PATCH] warn-- git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68501 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_toolbar.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c index 60d89e2..52717f9 100644 --- a/src/lib/elm_toolbar.c +++ b/src/lib/elm_toolbar.c @@ -932,10 +932,8 @@ _item_new(Evas_Object *obj, const char *icon, const char *label, Evas_Smart_Cb f } static void -_item_label_set(Elm_Toolbar_Item *item, const char *label, const char *signal) +_item_label_set(Elm_Toolbar_Item *item, const char *label, const char *signal __UNUSED__) { - const char *s; - if ((label) && (item->label) && (!strcmp(label, item->label))) return; eina_stringshare_replace(&item->label, label); @@ -945,11 +943,9 @@ _item_label_set(Elm_Toolbar_Item *item, const char *label, const char *signal) } static void -_elm_toolbar_item_icon_obj_set(Evas_Object *obj, Elm_Toolbar_Item *item, Evas_Object *icon_obj, const char *icon_str, double icon_size, const char *signal) +_elm_toolbar_item_icon_obj_set(Evas_Object *obj, Elm_Toolbar_Item *item, Evas_Object *icon_obj, const char *icon_str, double icon_size, const char *signal __UNUSED__) { - Evas_Object *old_icon; int ms = 0; - const char *s; if (icon_str) eina_stringshare_replace(&item->icon_str, icon_str); -- 2.7.4