[PATCH] Avoid unused variables when XSERVER_LIBPCIACCESS is defined.
Cyril Brulebois
kibi at debian.org
Mon Nov 8 04:36:47 PST 2010
Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
src/fbdev.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/fbdev.c b/src/fbdev.c
index 4cde790..99672d3 100644
--- a/src/fbdev.c
+++ b/src/fbdev.c
@@ -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;
--
1.7.2.3
More information about the xorg-devel
mailing list