[PATCH 00/14] -Wshadow warning fixes

Keith Packard keithp at keithp.com
Sun Dec 29 15:33:08 PST 2013


Adam Jackson <ajax at redhat.com> writes:

> These all fix shadowed declarations, where you have a variable in inner scope
> with the same name as another variable in outer scope.  There are still a few
> left, because apparently gcc thinks it's cool to warn you when a variable name
> shadows a typedef name, and I think that's a compiler bug I don't want to work
> around in code.  I also didn't attempt to fix up any of the tests.
>
> Series is atop Keith's warning-fixes branch, if it happens to matter.

Oddly, most of these are essentially the same as patches I posted a few
hours later. I'll review them, but at some point we'll have to
reconcile...

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


More information about the xorg-devel mailing list