[vlc-devel] commit: lpcm: kill a warning (Jean-Baptiste Kempf )

Rémi Denis-Courmont remi at remlab.net
Wed Dec 16 12:48:16 CET 2009


On Wed, 16 Dec 2009 11:58:13 +0100, Hugo Beauzee-Luyssen
<beauze.h at gmail.com> wrote:
> Isn't that supposed to be true only in debug mode ?

Assertion are supposed to be true in release mode as well, you know. Just
because they are checked does not turn them false.

> An unreachable code in debug mode seems better to me than an unset return
> value in release :o

And it seems much worse to me because developers should all be using debug
builds.

-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list