clang static analysis

Keith Packard keithp at keithp.com
Sat May 22 20:11:29 PDT 2010


On Sat, 22 May 2010 09:16:48 -0700, Jeremy Huddleston <jeremyhu at apple.com> wrote:

> I think in this case, miFillPolyHelper should take a const pGC and
> pass it casted to non-const to ChangeGC (since it knows it will be
> preserved by another handshaking method).

Yuck. I'd rather not see the server cluttered by casts in the name of
adding 'const' everywhere. It's just not that useful.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100522/af76cf7c/attachment.pgp>


More information about the xorg-devel mailing list