[vlc-devel] New Defects reported by Coverity Scan for vlc
Thomas Guillem
thomas at gllm.fr
Tue Aug 21 16:33:23 CEST 2018
On Tue, Aug 21, 2018, at 16:21, Romain Vimont wrote:
> On Tue, Aug 21, 2018 at 04:59:43PM +0300, Rémi Denis-Courmont wrote:
> > Le tiistaina 21. elokuuta 2018, 11.12.06 EEST Romain Vimont a écrit :
> > > False-positive?
> > >
> > > In vlc_list.h:
> > >
> > > #define vlc_list_entry_p(node, p, member) \
> > > (0 ? (p) : (void *)(((char *)(node)) - vlc_list_offset_p(p,
> > > member)))
> > >
> > > Just for info, why "0 ? (p) : XXX" here?
> >
> > Conversion to type of p.
>
> Thank you.
>
> This could deserve a comment :)
+1
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list