eo2: can't detect return in a eo2_do macro, *sigh*
authorJérémy Zurcher <jeremy@asynk.ch>
Fri, 26 Jul 2013 00:47:59 +0000 (02:47 +0200)
committerTom Hacohen <tom@stosb.com>
Thu, 10 Apr 2014 03:20:16 +0000 (04:20 +0100)
src/lib/eo/eo.c

index 85bc0c9..4ff62d4 100644 (file)
@@ -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;