[PATCH] xfree86: fix compiler warnings - unused variable i

Peter Hutterer peter.hutterer at who-t.net
Thu Nov 4 19:46:27 PDT 2010


./../../../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



More information about the xorg-devel mailing list