Eo callback call: Remove redundant safety checks.

This is already being checked by eo_do, no need to duplicate this here.
This commit is contained in:
Tom Hacohen 2015-10-15 12:22:14 +01:00
parent 5661f96c05
commit f7196513d0
1 changed files with 1 additions and 5 deletions

View File

@ -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)