tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3782931c505b467945e74f763c26270ffea39896

commit 3782931c505b467945e74f763c26270ffea39896
Author: Tom Hacohen <t...@stosb.com>
Date:   Thu Oct 15 18:38:32 2015 +0100

    Eo: Removed weird unneeded condition.
---
 src/lib/eo/eo.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 1d046c2..2dc5547 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -922,11 +922,10 @@ _eo_add_internal_end(Eo *eo_id, Eo_Call_Stack *stack)
      }
 
      {
-        const _Eo_Class *klass = (fptr->cur_klass) ?
-           fptr->cur_klass : fptr->o.obj->klass;
-
         if (!fptr->o.obj->condtor_done)
           {
+             const _Eo_Class *klass = fptr->o.obj->klass;
+
              ERR("Object of class '%s' - Not all of the object constructors 
have been executed.",
                    klass->desc->name);
              goto cleanup;

-- 


Reply via email to