[vlc-devel] commit: src/control/event.c: Add missing return for NDEBUG builds. Fix return (JP Dinger )

Rémi Denis-Courmont remi at remlab.net
Fri Jan 29 17:08:15 CET 2010




On Fri, 29 Jan 2010 16:55:04 +0100 (CET), git at videolan.org (git version
control) wrote:
> vlc | branch: master | JP Dinger <jpd at videolan.org> | Fri Jan 29 16:28:25
> 2010 +0100| [7228b1b132936ab5d7744a804f89b0155f56bc3c] | committer: JP
> Dinger
> 
> src/control/event.c: Add missing return for NDEBUG builds. Fix return
> value to something more sensible if desired.

This will raise a warning on debug builds (and generate useless code) if
abort() is marked as no-return (which it should be) and optimizations are
enabled (which they always are, as VLC x86 does not even build with -O0).

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




More information about the vlc-devel mailing list