summaryrefslogtreecommitdiff
path: root/src/savage_driver.c
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2018-12-13 10:54:24 -0600
committerKevin Brace <kevinbrace@gmx.com>2018-12-13 10:54:24 -0600
commitfcc50b5af5a13083337984fc53e41cd704e84e15 (patch)
treeba8696a1d1bfa1b2af3b6cd2f2f74573b7b18429 /src/savage_driver.c
parent69f6c305f41b1af500c4a40b7fb43a021ca8b255 (diff)
Eliminate unused variable compilation warnings
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
Diffstat (limited to 'src/savage_driver.c')
-rw-r--r--src/savage_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c
index 3cda923..01fc0bc 100644
--- a/src/savage_driver.c
+++ b/src/savage_driver.c
@@ -1265,8 +1265,8 @@ static Bool SavagePreInit(ScrnInfoPtr pScrn, int flags)
if(!psav->NoAccel) {
from = X_DEFAULT;
- char *strptr;
#ifdef HAVE_XAA_H
+ char *strptr;
if((strptr = (char *)xf86GetOptValString(psav->Options, OPTION_ACCELMETHOD))) {
if(!xf86NameCmp(strptr,"XAA")) {
from = X_CONFIG;