[vlc-devel] commit: Clarification (the last case can't happend) (CID 174) ( Rémi Duraffort )

Laurent Aimar fenrir at via.ecp.fr
Fri Oct 10 23:20:36 CEST 2008


On Fri, Oct 10, 2008, git version control wrote:
> vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Oct 10 23:14:51 2008 +0200| [a62d3071c57b8ed4f5af0f82e63d9c1f599bf18a] | committer: Rémi Duraffort 
> 
> Clarification (the last case can't happend) (CID 174)
 If it cannot happen, then it is way better to assert than to return an error
code.
It make things cleaner, easier to read, and allows to catch bugs.

-- 
fenrir



More information about the vlc-devel mailing list