From db452b14accf345d4b6188bcb94c06383dd4056d Mon Sep 17 00:00:00 2001 From: sebastid Date: Sun, 6 Aug 2006 02:21:07 +0000 Subject: Fix warnings. SVN revision: 24421 --- src/modules/ibox/e_mod_config.c | 3 +-- src/modules/ibox/e_mod_main.c | 8 +------- 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'src/modules/ibox') diff --git a/src/modules/ibox/e_mod_config.c b/src/modules/ibox/e_mod_config.c index c8a59b744f..248d6db8e5 100644 --- a/src/modules/ibox/e_mod_config.c +++ b/src/modules/ibox/e_mod_config.c @@ -84,11 +84,10 @@ static Evas_Object * _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata) { E_Radio_Group *rg; - Evas_Object *o, *ol, *of, *ob; + Evas_Object *o, *of, *ob; Evas_List *l, *l2; int zone_count; - char buf[256]; o = e_widget_list_add(evas, 0, 0); diff --git a/src/modules/ibox/e_mod_main.c b/src/modules/ibox/e_mod_main.c index a6a27c2976..c930bce15b 100644 --- a/src/modules/ibox/e_mod_main.c +++ b/src/modules/ibox/e_mod_main.c @@ -133,7 +133,6 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style) Evas_Coord x, y, w, h; int cx, cy, cw, ch; const char *drop[] = { "enlightenment/border" }; - Evas_List *l; Config_Item *ci; inst = E_NEW(Instance, 1); @@ -512,8 +511,6 @@ _ibox_icon_new(IBox *b, E_Border *bd) static void _ibox_icon_free(IBox_Icon *ic) { - Evas_Object *o; - if (ibox_config->menu) { e_menu_post_deactivate_callback_set(ibox_config->menu, NULL, NULL); @@ -1021,7 +1018,6 @@ _ibox_inst_cb_drop(void *data, const char *type, void *event_info) static int _ibox_cb_event_border_add(void *data, int type, void *event) { - int ok; E_Event_Border_Add *ev; IBox *b; IBox_Icon *ic; @@ -1169,9 +1165,7 @@ static int _ibox_cb_event_border_zone_set(void *data, int type, void *event) { E_Event_Border_Zone_Set *ev; - IBox *b; - IBox_Icon *ic; - + ev = event; /* delete from current zone ibox, add to new one */ if (ev->border->iconic) -- cgit v1.2.1