Avoid unused variables when XSERVER_LIBPCIACCESS is defined.

Signed-off-by: Cyril Brulebois <kibi@debian.org>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
Cyril Brulebois
2010-11-08 13:23:35 +01:00
committed by Julien Cristau
parent 90524a26d3
commit 20909cd806

View File

@@ -284,7 +284,9 @@ FBDevProbe(DriverPtr drv, int flags)
ScrnInfoPtr pScrn;
GDevPtr *devSections;
int numDevSections;
#ifndef XSERVER_LIBPCIACCESS
int bus,device,func;
#endif
char *dev;
Bool foundScreen = FALSE;