summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-15 18:38:32 +0100
committerTom Hacohen <tom@stosb.com>2015-10-19 10:22:41 +0100
commit23f0c0852ecde31b41ea5c63b79e87b439a68533 (patch)
treefd9c75029a13c1ccda574ac20b6d4d8a54cf118d /src
parent8bd7c9e4295a3d9c1732ec57c386633660abe303 (diff)
Eo: Removed weird unneeded condition.
Diffstat (limited to 'src')
-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 6af86d6..89a50f6 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -873,11 +873,10 @@ _eo_add_internal_end(Eo *eo_id, Eo_Call_Stack *stack)
873 } 873 }
874 874
875 { 875 {
876 const _Eo_Class *klass = (fptr->cur_klass) ?
877 fptr->cur_klass : fptr->o.obj->klass;
878
879 if (!fptr->o.obj->condtor_done) 876 if (!fptr->o.obj->condtor_done)
880 { 877 {
878 const _Eo_Class *klass = fptr->o.obj->klass;
879
881 ERR("Object of class '%s' - Not all of the object constructors have been executed.", 880 ERR("Object of class '%s' - Not all of the object constructors have been executed.",
882 klass->desc->name); 881 klass->desc->name);
883 goto cleanup; 882 goto cleanup;