From d61a31a64576615df49dd8749e3a4bdf214772fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 26 Jul 2013 02:47:59 +0200 Subject: [PATCH] eo2: can't detect return in a eo2_do macro, *sigh* --- src/lib/eo/eo.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index 85bc0c9..4ff62d4 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -336,9 +336,6 @@ eo2_do_start(Eo *obj_id, Eina_Bool do_super) if ((fptr - eo2_call_stack.stack) >= EO2_CALL_STACK_SIZE) ERR("eo2 call stack overflow !!!"); - if (fptr->obj_id != NULL) - ERR("eo2 call stack is not clear, you must have used a return statement in a eo2_do macro"); - _eo_ref(obj); fptr->obj = obj; -- 2.7.4