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

Matt Turner mattst88 at gmail.com
Thu Nov 4 20:08:03 PDT 2010


On Thu, Nov 4, 2010 at 10:45 PM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> ./../../../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

Reviewed-by: Matt Turner <mattst88 at gmail.com>

ati and atimisc are still listed, along with lots of other dead and
outdated modules, in hw/xfree86/doc/devel/Registry.

Maybe cleaning hw/xfree86/doc/devel/Registry would be a good Google
Code-in task?

Matt


More information about the xorg-devel mailing list