[vlc-devel] Re: vlc: svn commit r19407 (fenrir)

Laurent Aimar fenrir at via.ecp.fr
Sat Mar 24 18:03:21 CET 2007


On Sat, Mar 24, 2007, Rémi Denis-Courmont wrote:
> Le vendredi 23 mars 2007 21:59, Subversion daemon a écrit :
> > r19407 | fenrir | 2007-03-23 20:59:11 +0100 (Fri, 23 Mar 2007) | 3
> > lines Changed paths:
> >    M /trunk/src/input/control.c
> >    M /trunk/src/input/input.c
> >
> > Extended INPUT_DEL_INFO (Allow deleting a whole category with NULL
> > name) Fixed VLC_META_NOW_PLAYING update.
> 
> This appears to contradict the prototype explicitly (null argument where 
> non-null required (argument 1)). Assuming the changeset is correct, the 
> prototype needs to be changed too.
 Do you talk about :
    src/input/input.c:257: warning: null argument where non-null required (argument 1) 
    [...]
 If so it's because vlc_meta_SetXXX( p_meta, NULL ) expands as
  psz = NULL ? strdup(NULL) : NULL
 and gcc warns about strdup(NULL)...

-- 
fenrir

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list