diff options
author | Kevin Brace <kevinbrace@gmx.com> | 2018-12-17 16:00:35 -0600 |
---|---|---|
committer | Kevin Brace <kevinbrace@gmx.com> | 2019-01-27 21:07:57 -0800 |
commit | 1d3102739815eb0c37bd9a9134bd0eb80deb3895 (patch) | |
tree | 8b05ce3551f8a8295a689a0e98d2fd04942e9679 | |
parent | ced64e1325c04aa079d7cef185bb157e4975dc21 (diff) |
Eliminate unused variable compilation warnings
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
-rw-r--r-- | src/apm_dga.c | 1 | ||||
-rw-r--r-- | src/apm_driver.c | 2 |
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; |