[vlc-devel] [PATCH] Fix for 'no-return-in-nonvoid function intf.c'

Dominique Leuenberger dominique at leuenberger.net
Sun Dec 21 13:10:41 CET 2008


On Sun, 2008-12-21 at 14:02 +0200, Rémi Denis-Courmont wrote:
> Le dimanche 21 décembre 2008, Dominique Leuenberger a écrit :
> > diff --git a/modules/access/vcdx/intf.c b/modules/access/vcdx/intf.c
> > index 338f13a..8207d61 100644
> > --- a/modules/access/vcdx/intf.c
> > +++ b/modules/access/vcdx/intf.c
> > @@ -338,6 +338,8 @@ static int InitThread( intf_thread_t * p_intf )
> >      p_intf->p_sys->b_key_pressed = false;
> >
> >      vlc_mutex_unlock( &p_intf->change_lock );
> > +    /* make sure we return a value */
> > +    return ;
> >  }
> 
> /* Make sure you drink more coffee */
> 

Hmmhmm... 'nothing' (0) was dropped... ouch...
will give it straight ahead once more... with a double espresso.




More information about the vlc-devel mailing list