[vlc-devel] [vlc-commits] vlc_es: add enum entries count

Rémi Denis-Courmont remi at remlab.net
Sun May 11 03:32:34 CEST 2014


Le 2014-05-10 18:01, git at videolan.org a écrit :
> vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu
> May  8 18:24:58 2014 +0200| 
> [9f0ef1430ba8e5fbb7eb473d9b88d3ba07343291]
> | committer: Francois Cartegnie
>
> vlc_es: add enum entries count

Sorry but that sucks. The compiler will complain about missing the 
count case in switch. And there is no way to avoid this without dead 
code (which then makes code analyzers angry). Don't do that.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list