fix CID 1379920 - event_flags is actually never NULL or undefined in
the function logic. it's always set to point to the specific event
flags field depending on struct type or the function will return
before using the pointer.
prev_flags = *event_flags;
if (ecd->func((void *)ecd->data, parent, obj, type, event_info.any) ||
- (event_flags && ((*event_flags) & EVAS_EVENT_FLAG_ON_HOLD)))
+ ((*event_flags) & EVAS_EVENT_FLAG_ON_HOLD))
{
- if (event_flags)
- {
- if (prev_flags != *event_flags)
- efl_input_event_flags_set(event->info, *event_flags);
- }
+ if (prev_flags != *event_flags)
+ efl_input_event_flags_set(event->info, *event_flags);
return EINA_TRUE;
}