From 6b0e7264986a769d0e760697504fb1c7cdb364b2 Mon Sep 17 00:00:00 2001 From: raster Date: Sun, 16 Jan 2011 04:00:50 +0000 Subject: [PATCH] use unused instead of dead code to silence warnings git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@56167 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_calc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/edje_calc.c b/src/lib/edje_calc.c index c1aa0d0..3d80e04 100644 --- a/src/lib/edje_calc.c +++ b/src/lib/edje_calc.c @@ -281,7 +281,7 @@ _edje_part_recalc_1(Edje *ed, Edje_Real_Part *ep) } int -_edje_part_dragable_calc(Edje *ed, Edje_Real_Part *ep, FLOAT_T *x, FLOAT_T *y) +_edje_part_dragable_calc(Edje *ed __UNUSED__, Edje_Real_Part *ep, FLOAT_T *x, FLOAT_T *y) { if (ep->drag) { @@ -320,7 +320,6 @@ _edje_part_dragable_calc(Edje *ed, Edje_Real_Part *ep, FLOAT_T *x, FLOAT_T *y) if (x) *x = ZERO; if (y) *y = ZERO; return 0; - ed = NULL; } void -- 2.7.4