[PATCH] xfree86: fix compiler warnings - unused variable i
Matt Turner
mattst88 at gmail.com
Thu Nov 4 20:09:11 PDT 2010
On Thu, Nov 4, 2010 at 10:46 PM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> ./../../../hw/xfree86/common/xf86Config.c: In function 'configDRI':
> ./../../../hw/xfree86/common/xf86Config.c:2213:9: warning: unused variable
> 'i'
>
> Introduced in 788bfbf18ac19923604b0d676933fdc0d78526a1
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> hw/xfree86/common/xf86Config.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c
> index dea3c9b..e3b2831 100644
> --- a/hw/xfree86/common/xf86Config.c
> +++ b/hw/xfree86/common/xf86Config.c
> @@ -2210,7 +2210,6 @@ configDevice(GDevPtr devicep, XF86ConfDevicePtr conf_device, Bool active)
> static void
> configDRI(XF86ConfDRIPtr drip)
> {
> - int i;
> struct group *grp;
>
> xf86ConfigDRI.group = -1;
> --
> 1.7.3.2
Reviewed-by: Matt Turner <mattst88 at gmail.com>
More information about the xorg-devel
mailing list