summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/apm_dga.c1
-rw-r--r--src/apm_driver.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/apm_dga.c b/src/apm_dga.c
index 6e92123..a2ff48e 100644
--- a/src/apm_dga.c
+++ b/src/apm_dga.c
@@ -236,7 +236,6 @@ ApmDGAInit(ScreenPtr pScreen)
static Bool
ApmSetMode(ScrnInfoPtr pScrn, DGAModePtr pMode)
{
- int index = pScrn->pScreen->myNum;
APMDECL(pScrn);
if (!pMode) { /* restore the original mode */
diff --git a/src/apm_driver.c b/src/apm_driver.c
index 92da51c..4be81de 100644
--- a/src/apm_driver.c
+++ b/src/apm_driver.c
@@ -355,7 +355,7 @@ ApmPreInit(ScrnInfoPtr pScrn, int flags)
EntityInfoPtr pEnt;
vgaHWPtr hwp;
MessageType from;
- char *mod = NULL, *req = NULL;
+ char *mod = NULL;
const char *s;
ClockRangePtr clockRanges;
int i;