clang static analysis

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

On Sat, 22 May 2010 09:16:48 -0700, Jeremy Huddleston <jeremyhu at> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the xorg-devel mailing list