From 3e40b45be65b21a9941a1531c721216c3301d7a8 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Fri, 16 Oct 2015 10:51:19 +0100 Subject: [PATCH] Eo: Remove extra paranoid-never could happen safety checks. I was not able to reach those without arbitrary memory corruption, but in that case we are in trouble anyway. --- src/lib/eo/eo.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index f305d75f14..4b33c2c111 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -908,12 +908,6 @@ _eo_add_internal_end(Eo *eo_id, Eo_Call_Stack *stack) fptr = stack->frame_ptr; - if (fptr == NULL) - { - ERR("Something very wrong happend to the call stack."); - return NULL; - } - if (EINA_UNLIKELY(!fptr->o.obj)) { ERR("Corrupt call stack, shouldn't happen, please report!");