From d72e18c10995079121eded758a60ed99b5b8ce1a Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Mon, 17 Mar 2008 16:59:12 +0800 Subject: Compile warning fixes. Move some declarations and don't declare an extra variable with the same name, to fix warnings about mixed declarations and code. --- src/i830_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/i830_driver.c') diff --git a/src/i830_driver.c b/src/i830_driver.c index e1ab5364..d5b260c4 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -1479,7 +1479,7 @@ I830PreInit(ScrnInfoPtr pScrn, int flags) pI830->useEXA = FALSE; #endif #if defined(I830_USE_XAA) && defined(I830_USE_EXA) - int from = X_DEFAULT; + from = X_DEFAULT; if ((s = (char *)xf86GetOptValString(pI830->Options, OPTION_ACCELMETHOD))) { if (!xf86NameCmp(s, "EXA")) { -- cgit v1.2.3