[vlc-devel] New Defects reported by Coverity Scan for vlc
Romain Vimont
rom1v at videolabs.io
Tue Aug 21 16:21:30 CEST 2018
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 :)
More information about the vlc-devel
mailing list