summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-16 10:51:19 +0100
committerTom Hacohen <tom@stosb.com>2015-11-09 11:43:04 +0000
commit3e40b45be65b21a9941a1531c721216c3301d7a8 (patch)
tree8504ef4b7bc000bca654a0916ce2400ab66ebee1
parent6ed69b1d11b92cffbe121723842bcbf27ef4a182 (diff)
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.
-rw-r--r--src/lib/eo/eo.c6
1 files changed, 0 insertions, 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)
908 908
909 fptr = stack->frame_ptr; 909 fptr = stack->frame_ptr;
910 910
911 if (fptr == NULL)
912 {
913 ERR("Something very wrong happend to the call stack.");
914 return NULL;
915 }
916
917 if (EINA_UNLIKELY(!fptr->o.obj)) 911 if (EINA_UNLIKELY(!fptr->o.obj))
918 { 912 {
919 ERR("Corrupt call stack, shouldn't happen, please report!"); 913 ERR("Corrupt call stack, shouldn't happen, please report!");