From f26251cb4f23b86b7103a07b95c22992a88d9b00 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Sun, 6 May 2012 12:03:29 +0000 Subject: [PATCH] Eo: Only implement _eo_class_mro_has when in testing mode. SVN revision: 70799 --- legacy/eobj/lib/eo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/legacy/eobj/lib/eo.c b/legacy/eobj/lib/eo.c index d04f8ba..dfba1e8 100644 --- a/legacy/eobj/lib/eo.c +++ b/legacy/eobj/lib/eo.c @@ -455,6 +455,7 @@ _eo_class_base_op_init(Eo_Class *klass) *(desc->ops.base_op_id) = klass->class_id << OP_CLASS_OFFSET; } +#ifndef NDEBUG static Eina_Bool _eo_class_mro_has(const Eo_Class *klass, const Eo_Class *find) { @@ -469,6 +470,7 @@ _eo_class_mro_has(const Eo_Class *klass, const Eo_Class *find) return EINA_FALSE; } +#endif static Eina_List * _eo_class_mro_add(Eina_List *mro, const Eo_Class *klass) -- 2.7.4