Commit e0d63ad3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

new cannot return NULL per ISO C++

parent 8236d4c9
...@@ -346,14 +346,14 @@ static int InputEvent( vlc_object_t *p_this, const char *, ...@@ -346,14 +346,14 @@ static int InputEvent( vlc_object_t *p_this, const char *,
QApplication::postEvent( im, event ); QApplication::postEvent( im, event );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
static int VbiEvent( vlc_object_t *, const char *, static int VbiEvent( vlc_object_t *, const char *,
vlc_value_t, vlc_value_t, void *param ) vlc_value_t, vlc_value_t, void *param )
{ {
InputManager *im = (InputManager*)param; InputManager *im = (InputManager*)param;
IMEvent *event = new IMEvent( ItemTeletextChanged_Type, 0 ); IMEvent *event = new IMEvent( ItemTeletextChanged_Type, 0 );
if( event ) QApplication::postEvent( im, event );
QApplication::postEvent( im, event );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
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