Adam Jackson <[email protected]> writes:

> gcc 5.1 throws a rather amusing warning here:
>
> glxcmdsswap.c: In function ‘__glXSwapQueryExtensionsString’:
> glxcmdsswap.c:439:1: warning: function might be candidate for attribute
> ‘noreturn’ [-Wsuggest-attribute=noreturn]
>  __glXSwapQueryExtensionsString(__GLXclientState * cl, GLbyte * pc)
>
> This is entirely accurate, albeit curiously phrased: swapping some bits
> hanging off the end of a null pointer will make Xdmx crash, so from the
> perspective of code generation the function will indeed not return.

Reviewed-by: Keith Packard <[email protected]>

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to