[PATCH xf86-video-apm 3/4] Eliminate unused variable compilation warnings
Kevin Brace
kevinbrace at gmx.com
Mon Dec 17 22:00:35 UTC 2018
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
---
src/apm_dga.c | 1 -
src/apm_driver.c | 2 +-
2 files changed, 1 insertion(+), 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;
--
2.7.4
More information about the xorg-devel
mailing list