summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-15 18:38:32 +0100
committerTom Hacohen <tom@stosb.com>2015-11-09 11:43:04 +0000
commit3782931c505b467945e74f763c26270ffea39896 (patch)
tree03e52c90a3982afade5639c4c80a4cdd5c7ded6a
parentf28f6ecbfa7a19c0425a33edd6a72d7bc8293e1e (diff)
Eo: Removed weird unneeded condition.
-rw-r--r--src/lib/eo/eo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 1d046c2d17..2dc5547d13 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)
922 } 922 }
923 923
924 { 924 {
925 const _Eo_Class *klass = (fptr->cur_klass) ?
926 fptr->cur_klass : fptr->o.obj->klass;
927
928 if (!fptr->o.obj->condtor_done) 925 if (!fptr->o.obj->condtor_done)
929 { 926 {
927 const _Eo_Class *klass = fptr->o.obj->klass;
928
930 ERR("Object of class '%s' - Not all of the object constructors have been executed.", 929 ERR("Object of class '%s' - Not all of the object constructors have been executed.",
931 klass->desc->name); 930 klass->desc->name);
932 goto cleanup; 931 goto cleanup;