[vlc-devel] commit: signals: Return NULL at SigThread end. (Pierre d'Herbemont )

Rafaël Carré rafael.carre at gmail.com
Fri Aug 21 01:13:19 CEST 2009


On Fri, 21 Aug 2009 01:10:25 +0200 (CEST)
git at videolan.org (git version control) wrote:

> vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Fri
> Aug 21 01:09:52 2009 +0200|
> [3c55f6d8bed88ca5635446cbc8ee1e85547c0ac1] | committer: Pierre

> +
> +    /* Not reached */
> +    return NULL;

you can declare the function with __attribute__((noreturn)) and remove
the return

-- 
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090821/1e0337bf/attachment.sig>


More information about the vlc-devel mailing list