[PATCH] xfree86: fix two compiler warnings - unused variable ati, atimisc

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


./../../../hw/xfree86/common/xf86Config.c: In function
'fixup_video_driver_list':
./../../../hw/xfree86/common/xf86Config.c:507:19: warning: unused variable
'atimisc'
./../../../hw/xfree86/common/xf86Config.c:507:12: warning: unused variable
'ati'

Introduced in 52577ae8eeda64601db8dd425027cf8e4271b873.

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 92fb74d..dea3c9b 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 */
-- 
1.7.3.2


More information about the xorg-devel mailing list