From a0d761cfa9bd182449b2c4cf483c07e71821f1cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 8 Jan 2014 12:11:20 +0100 Subject: [PATCH] eo2: _eo2_call_resolve() fails if op is EO_NOOP --- src/lib/eo/eo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index 2e053bd1e2..4d264782e1 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -484,6 +484,8 @@ _eo2_call_resolve(const char *func_name, const Eo_Op op, Eo2_Op_Call_Data *call, const op_type_funcs *func; Eina_Bool is_obj; + if (op == EO_NOOP) return EINA_FALSE; + fptr = eo2_call_stack.frame_ptr; is_obj = !_eo_is_a_class(fptr->eo_id); @@ -586,6 +588,7 @@ end: } else { + /* we should not be able to take this branch */ ERR("in %s:%d: func '%s' (%d) could not be resolved for class '%s'.", file, line, func_name, op, main_klass->desc->name); }