aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/evas/src/lib/canvas/evas_layer.c
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2012-08-02 16:05:49 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2012-08-02 16:05:49 +0000
commit49caa4301137e282ead2f6100d2f896fbc4f92da (patch)
tree97e63967f28a702f8d0b0170f32471c6ae32e61c /legacy/evas/src/lib/canvas/evas_layer.c
parenteio: memory leak--. (diff)
downloadefl-49caa4301137e282ead2f6100d2f896fbc4f92da.tar.gz
evas/canvas: Remove set but unused variable.
SVN revision: 74808
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_layer.c')
-rw-r--r--legacy/evas/src/lib/canvas/evas_layer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_layer.c b/legacy/evas/src/lib/canvas/evas_layer.c
index 3c7bc84bf1..7b89069655 100644
--- a/legacy/evas/src/lib/canvas/evas_layer.c
+++ b/legacy/evas/src/lib/canvas/evas_layer.c
@@ -136,11 +136,8 @@ evas_layer_del(Evas_Layer *lay)
static void
_evas_object_layer_set_child(Evas_Object *obj, Evas_Object *par, short l)
{
- Evas *e;
-
if (obj->delete_me) return;
if (obj->cur.layer == l) return;
- e = obj->layer->evas;
evas_object_release(obj, 1);
obj->cur.layer = l;
obj->layer = par->layer;
@@ -149,7 +146,7 @@ _evas_object_layer_set_child(Evas_Object *obj, Evas_Object *par, short l)
{
Eina_Inlist *contained;
Evas_Object *member;
-
+
contained = (Eina_Inlist *)evas_object_smart_members_get_direct(obj);
EINA_INLIST_FOREACH(contained, member)
{