From 763138f5b86db1b6651681715314e125344c2d26 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Tue, 13 Feb 2007 02:02:38 +0000 Subject: [PATCH] - Remove unused variables. - Fix if check. - Fix return value. SVN revision: 28333 --- src/bin/e_flowlayout.c | 4 ++-- src/bin/e_int_menus.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/e_flowlayout.c b/src/bin/e_flowlayout.c index ca6b5760b..6ec89a7a5 100644 --- a/src/bin/e_flowlayout.c +++ b/src/bin/e_flowlayout.c @@ -146,7 +146,7 @@ e_flowlayout_flowdirection_get(Evas_Object *obj, int *right, int *bottom) E_Smart_Data *sd; sd = evas_object_smart_data_get(obj); - if (!sd) return 0; + if (!sd) return; if (right) *right = sd->flowright; if (bottom) *bottom = sd->flowright; } @@ -722,7 +722,7 @@ static void _e_flowlayout_smart_extents_calcuate(E_Smart_Data *sd) { Evas_List *l; - int minw, minh, totalw, totalh, count; + int minw, minh, count; /* FIXME: need to calc max */ sd->max.w = -1; /* max < 0 == unlimited */ diff --git a/src/bin/e_int_menus.c b/src/bin/e_int_menus.c index e1ecc7ef0..3e04f3417 100644 --- a/src/bin/e_int_menus.c +++ b/src/bin/e_int_menus.c @@ -907,7 +907,7 @@ _e_int_menus_clients_sort_border_cb(void *d1, void *d2) if (j > k) return 1; if (j < k) return -1; - if (j = k) return 0; + if (j == k) return 0; } static void