summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-15 12:22:14 +0100
committerTom Hacohen <tom@stosb.com>2015-10-19 10:22:41 +0100
commit284e30f700e4bf55df68a9e5e765a6f8747fd5f6 (patch)
treef7edb25b9b23451e8587a267781226b143ba178d /src
parent49150f1776665107cd28b899c40f1e9029c129be (diff)
Eo callback call: Remove redundant safety checks.
This is already being checked by eo_do, no need to duplicate this here.
Diffstat (limited to 'src')
-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 5391e65..f99ca37 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)