summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-15 12:22:14 +0100
committerTom Hacohen <tom@stosb.com>2015-11-09 11:43:04 +0000
commitf7196513d04acd263425c69aafda4a3a02c574b4 (patch)
treef79dd7ee0a5f3b1c647b0a73f7d2cd3dc5f7b0c2
parent5661f96c052d665a7429b834326476ca7fd81e48 (diff)
Eo callback call: Remove redundant safety checks.
This is already being checked by eo_do, no need to duplicate this here.
-rw-r--r--src/lib/eo/eo_base_class.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 5391e65f3c..f99ca37289 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -666,13 +666,9 @@ _eo_base_event_callback_call(Eo *obj_id, Eo_Base_Data *pd,
666 const Eo_Event_Description *desc, 666 const Eo_Event_Description *desc,
667 void *event_info) 667 void *event_info)
668{ 668{
669 Eina_Bool ret; 669 Eina_Bool ret = EINA_TRUE;
670 Eo_Callback_Description *cb; 670 Eo_Callback_Description *cb;
671 671
672 EO_OBJ_POINTER_RETURN_VAL(obj_id, obj, EINA_FALSE);
673
674 ret = EINA_TRUE;
675
676 pd->walking_list++; 672 pd->walking_list++;
677 673
678 for (cb = pd->callbacks; cb; cb = cb->next) 674 for (cb = pd->callbacks; cb; cb = cb->next)