aboutsummaryrefslogtreecommitdiffstats
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
parentEo callback call: Remove redundant refcounting. (diff)
downloadefl-284e30f700e4bf55df68a9e5e765a6f8747fd5f6.tar.gz
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,
const Eo_Event_Description *desc,
void *event_info)
{
- Eina_Bool ret;
+ Eina_Bool ret = EINA_TRUE;
Eo_Callback_Description *cb;
- EO_OBJ_POINTER_RETURN_VAL(obj_id, obj, EINA_FALSE);
-
- ret = EINA_TRUE;
-
pd->walking_list++;
for (cb = pd->callbacks; cb; cb = cb->next)