[PATCH fbdev 3/3] Kill unused variables.

Julien Cristau jcristau at debian.org
Sun Nov 7 14:07:00 PST 2010


On Sun, Nov  7, 2010 at 15:54:51 +0100, Cyril Brulebois wrote:

> Signed-off-by: Cyril Brulebois <kibi at debian.org>
> ---
>  src/fbdev.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/src/fbdev.c b/src/fbdev.c
> index 4cde790..4c0fc31 100644
> --- a/src/fbdev.c
> +++ b/src/fbdev.c
> @@ -284,7 +284,6 @@ FBDevProbe(DriverPtr drv, int flags)
>  	ScrnInfoPtr pScrn;
>         	GDevPtr *devSections;
>  	int numDevSections;
> -	int bus,device,func;
>  	char *dev;
>  	Bool foundScreen = FALSE;
>  
They're used if XSERVER_LIBPCIACCESS isn't defined, so this should
probably be ifdef'ed instead of removed.

Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101107/e499f58a/attachment.pgp>


More information about the xorg-devel mailing list