summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-16 10:51:19 +0100
committerTom Hacohen <tom@stosb.com>2015-10-19 10:22:41 +0100
commit38a059420dcbc8b3d1a6b15b968da7ab6e1c1792 (patch)
tree119755f5c9e94be6d15202dd53d962608450c171 /src
parenta7208ffd0099ae2625c9694004e2f9bd8a12a4cf (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.
Diffstat (limited to 'src')
-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 7fa1406..bc71108 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -859,12 +859,6 @@ _eo_add_internal_end(Eo *eo_id, Eo_Call_Stack *stack)
859 859
860 fptr = stack->frame_ptr; 860 fptr = stack->frame_ptr;
861 861
862 if (fptr == NULL)
863 {
864 ERR("Something very wrong happend to the call stack.");
865 return NULL;
866 }
867
868 if (EINA_UNLIKELY(!fptr->o.obj)) 862 if (EINA_UNLIKELY(!fptr->o.obj))
869 { 863 {
870 ERR("Corrupt call stack, shouldn't happen, please report!"); 864 ERR("Corrupt call stack, shouldn't happen, please report!");