Re: [PATCH xrandr 2/2] xrandr: Fix variable declaration warnings

2012-08-28 Thread Andy Ritger
On Fri, Aug 24, 2012 at 09:43:13PM -0700, Aaron Plattner wrote: There are piles of places in the code where a variable shadows either another variable or a global function: xrandr.c:545:35: warning: declaration of ‘index’ shadows a global declaration [-Wshadow] xrandr.c:574:9: warning:

[PATCH xrandr 2/2] xrandr: Fix variable declaration warnings

2012-08-24 Thread Aaron Plattner
There are piles of places in the code where a variable shadows either another variable or a global function: xrandr.c:545:35: warning: declaration of ‘index’ shadows a global declaration [-Wshadow] xrandr.c:574:9: warning: declaration of ‘index’ shadows a global declaration [-Wshadow]