[PATCH] xfree86: remove unused variable in configureDDMonitorSection.

Dave Airlie airlied at redhat.com
Tue Dec 8 20:46:42 PST 2009


On Wed, 2009-12-09 at 14:18 +1000, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

Reviewed-by: Dave Airlie <airlied at redhat.com>

> ---
>  hw/xfree86/common/xf86Configure.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/hw/xfree86/common/xf86Configure.c b/hw/xfree86/common/xf86Configure.c
> index 2df6b4e..d74d90b 100644
> --- a/hw/xfree86/common/xf86Configure.c
> +++ b/hw/xfree86/common/xf86Configure.c
> @@ -577,7 +577,6 @@ static void handle_detailed_input(struct detailed_monitor_section *det_mon,
>  static XF86ConfMonitorPtr
>  configureDDCMonitorSection (int screennum)
>  {
> -    int i = 0;
>      int len, mon_width, mon_height;
>  #define displaySizeMaxLen 80
>      char displaySize_string[displaySizeMaxLen];




More information about the xorg-devel mailing list