From 032076e570187be97b810a446bd4abfae088c29b 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 175f793..c8e4257 100644 --- a/src/lib/elm_toolbar.c +++ b/src/lib/elm_toolbar.c @@ -938,10 +938,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); @@ -951,11 +949,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