summaryrefslogtreecommitdiff
path: root/src/mga_driver.c
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2018-11-26 11:00:32 -0800
committerKevin Brace <kevinbrace@gmx.com>2018-11-26 11:00:32 -0800
commit8db8f6b3f323a9d9cd934172c9f4d4a93a6b7394 (patch)
tree163e56490369d63b5f39664fbbf75ce4aa0bbd25 /src/mga_driver.c
parent94c70f888b3e3b1e4c9f324f188279f276c9cbbd (diff)
Eliminate unused variables
Care had to be taken to properly handle XAA usage situation Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
Diffstat (limited to 'src/mga_driver.c')
-rw-r--r--src/mga_driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 636e985..0fa9d9a 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -2651,7 +2651,7 @@ MGAMapMem(ScrnInfoPtr pScrn)
#ifdef XSERVER_LIBPCIACCESS
struct pci_device *const dev = pMga->PciInfo;
struct pci_mem_region *region;
- int i, err;
+ int err;
#endif
@@ -3173,7 +3173,6 @@ MGAScreenInit(SCREEN_INIT_ARGS_DECL)
vgaHWPtr hwp;
MGAPtr pMga;
MGARamdacPtr MGAdac;
- int ret;
VisualPtr visual;
unsigned char *FBStart;
int width, height, displayWidth;