summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2006-06-29 18:18:21 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2006-06-29 18:18:21 +0200
commit15c556f5a8c9069d3dd00ce139d46c39b7298951 (patch)
treebbeaccbbce53a85d1b8845f25b485d5b4dcbe399
parent055ac2836ec0afd51cf554d043a59068c36a07d3 (diff)
Don't declare unused variables on __powerpc__ and __alpha__.
-rw-r--r--src/r128_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/r128_driver.c b/src/r128_driver.c
index 95a9912..49c0d86 100644
--- a/src/r128_driver.c
+++ b/src/r128_driver.c
@@ -1377,8 +1377,10 @@ static Bool R128PreInitConfig(ScrnInfoPtr pScrn)
static Bool R128PreInitDDC(ScrnInfoPtr pScrn, xf86Int10InfoPtr pInt10)
{
+#if !defined(__powerpc__) && !defined(__alpha__)
R128InfoPtr info = R128PTR(pScrn);
vbeInfoPtr pVbe;
+#endif
if (!xf86LoadSubModule(pScrn, "ddc")) return FALSE;
xf86LoaderReqSymLists(ddcSymbols, NULL);