summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2005-12-29 15:38:08 +0000
committerChristopher Michael <cpmichael1@comcast.net>2005-12-29 15:38:08 +0000
commit10255a0904dc256039f1517acbbcd2972e0eec2e (patch)
treee57e0351d040d6c5e26e1bb0b6aa697881501893
parent4c4e066b4fbb2273f19586f946665e351378c60c (diff)
Remove unused variables
SVN revision: 19378
-rw-r--r--src/bin/e_ilist.c5
-rw-r--r--src/bin/e_int_config_window_display.c2
-rw-r--r--src/bin/e_livethumb.c1
-rw-r--r--src/bin/e_slider.c1
-rw-r--r--src/bin/e_widget_ilist.c1
5 files changed, 3 insertions, 7 deletions
diff --git a/src/bin/e_ilist.c b/src/bin/e_ilist.c
index b7a613cc5..90d8b68ea 100644
--- a/src/bin/e_ilist.c
+++ b/src/bin/e_ilist.c
@@ -261,7 +261,6 @@ e_ilist_remove_label(Evas_Object *obj, char *label)
261 E_Smart_Item *si; 261 E_Smart_Item *si;
262 Evas_List *l; 262 Evas_List *l;
263 int i; 263 int i;
264 char *t;
265 264
266 API_ENTRY return; 265 API_ENTRY return;
267 if (!sd->items) return; 266 if (!sd->items) return;
@@ -271,6 +270,7 @@ e_ilist_remove_label(Evas_Object *obj, char *label)
271 si = l->data; 270 si = l->data;
272 if (si) 271 if (si)
273 { 272 {
273 char *t;
274 t = strdup(edje_object_part_text_get(si->base_obj, "label")); 274 t = strdup(edje_object_part_text_get(si->base_obj, "label"));
275 if (!strcmp(t, label)) 275 if (!strcmp(t, label))
276 { 276 {
@@ -280,9 +280,9 @@ e_ilist_remove_label(Evas_Object *obj, char *label)
280 free(si); 280 free(si);
281 break; 281 break;
282 } 282 }
283 free(t);
283 } 284 }
284 } 285 }
285 free(t);
286} 286}
287 287
288/* local subsystem functions */ 288/* local subsystem functions */
@@ -370,7 +370,6 @@ static void
370_e_smart_add(Evas_Object *obj) 370_e_smart_add(Evas_Object *obj)
371{ 371{
372 E_Smart_Data *sd; 372 E_Smart_Data *sd;
373 Evas_Object *o;
374 373
375 sd = calloc(1, sizeof(E_Smart_Data)); 374 sd = calloc(1, sizeof(E_Smart_Data));
376 if (!sd) return; 375 if (!sd) return;
diff --git a/src/bin/e_int_config_window_display.c b/src/bin/e_int_config_window_display.c
index 707a73a14..be615951b 100644
--- a/src/bin/e_int_config_window_display.c
+++ b/src/bin/e_int_config_window_display.c
@@ -162,7 +162,7 @@ static Evas_Object *
162_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata) 162_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata)
163{ 163{
164 /* generate the core widget layout for an advanced dialog */ 164 /* generate the core widget layout for an advanced dialog */
165 Evas_Object *o, *ob, *of, *of2; 165 Evas_Object *o, *ob, *of;
166 E_Radio_Group *rg; 166 E_Radio_Group *rg;
167 167
168 _fill_data(cfdata); 168 _fill_data(cfdata);
diff --git a/src/bin/e_livethumb.c b/src/bin/e_livethumb.c
index 021370072..186030bbc 100644
--- a/src/bin/e_livethumb.c
+++ b/src/bin/e_livethumb.c
@@ -106,7 +106,6 @@ static void
106_e_smart_add(Evas_Object *obj) 106_e_smart_add(Evas_Object *obj)
107{ 107{
108 E_Smart_Data *sd; 108 E_Smart_Data *sd;
109 Evas_Object *o;
110 109
111 sd = calloc(1, sizeof(E_Smart_Data)); 110 sd = calloc(1, sizeof(E_Smart_Data));
112 if (!sd) return; 111 if (!sd) return;
diff --git a/src/bin/e_slider.c b/src/bin/e_slider.c
index 0b9ab0ffa..aab999649 100644
--- a/src/bin/e_slider.c
+++ b/src/bin/e_slider.c
@@ -413,7 +413,6 @@ static void
413_e_smart_add(Evas_Object *obj) 413_e_smart_add(Evas_Object *obj)
414{ 414{
415 E_Smart_Data *sd; 415 E_Smart_Data *sd;
416 Evas_Object *o;
417 416
418 sd = calloc(1, sizeof(E_Smart_Data)); 417 sd = calloc(1, sizeof(E_Smart_Data));
419 if (!sd) return; 418 if (!sd) return;
diff --git a/src/bin/e_widget_ilist.c b/src/bin/e_widget_ilist.c
index af36d27b0..aac1188e9 100644
--- a/src/bin/e_widget_ilist.c
+++ b/src/bin/e_widget_ilist.c
@@ -30,7 +30,6 @@ e_widget_ilist_add(Evas *evas, int icon_w, int icon_h, char **value)
30{ 30{
31 Evas_Object *obj, *o; 31 Evas_Object *obj, *o;
32 E_Widget_Data *wd; 32 E_Widget_Data *wd;
33 Evas_Coord mw, mh;
34 33
35 obj = e_widget_add(evas); 34 obj = e_widget_add(evas);
36 35