Commit 7228b1b1 authored by JP Dinger's avatar JP Dinger

src/control/event.c: Add missing return for NDEBUG builds. Fix return

value to something more sensible if desired.
parent 28029c51
......@@ -302,6 +302,7 @@ int event_attach( libvlc_event_manager_t * p_event_manager,
fprintf( stderr, "This object event manager doesn't know about '%s' events",
libvlc_event_type_name(event_type) );
assert(0);
return -1;
}
/**************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment