From f8da849fd89322a54cc4d722767da755358eab70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Sun, 13 Jul 2008 11:31:03 +0200 Subject: Only declare local variable when it's used. --- src/radeon_driver.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 2b6908e2..e9de3380 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -2046,7 +2046,10 @@ static Bool RADEONPreInitAccel(ScrnInfoPtr pScrn) static Bool RADEONPreInitInt10(ScrnInfoPtr pScrn, xf86Int10InfoPtr *ppInt10) { +#if (!defined(__powerpc__) && !defined(__sparc__)) || \ + (defined(XSERVER_LIBPCIACCESS) && HAVE_PCI_DEVICE_ENABLE) RADEONInfoPtr info = RADEONPTR(pScrn); +#endif #if !defined(__powerpc__) && !defined(__sparc__) unsigned char *RADEONMMIO = info->MMIO; uint32_t fp2_gen_ctl_save = 0; -- cgit v1.2.3