[PATCH 2/9] config: warning fixes
Adam Jackson
ajax at redhat.com
Tue Oct 19 08:59:17 PDT 2010
xf86Config.c: In function ‘fixup_video_driver_list’:
xf86Config.c:507: warning: unused variable ‘atimisc’
xf86Config.c:507: warning: unused variable ‘ati’
xf86Config.c: In function ‘configDRI’:
xf86Config.c:2214: warning: unused variable ‘i’
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
hw/xfree86/common/xf86Config.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c
index 92fb74d..e3b2831 100644
--- a/hw/xfree86/common/xf86Config.c
+++ b/hw/xfree86/common/xf86Config.c
@@ -504,7 +504,6 @@ fixup_video_driver_list(char **drivers)
static const char *fallback[4] = { "vesa", "fbdev", "wsfb", NULL };
char **end, **drv;
char *x;
- char **ati, **atimisc;
int i;
/* walk to the end of the list */
@@ -2211,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.2.3
More information about the xorg-devel
mailing list