aboutsummaryrefslogtreecommitdiffstats
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
parentEo: Reorganise some of the code and cleanup. (diff)
downloadefl-38a059420dcbc8b3d1a6b15b968da7ab6e1c1792.tar.gz
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 7fa140660e..bc71108963 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)
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!");