summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-17 11:36:55 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-17 11:36:55 -0700
commit2f2436b4fe70a1f1a47c4ed112e8aefba3c8efe3 (patch)
tree280b8ab0b37506b6e96107e3c4867c23e39b9700
parent5dee3ce85addc06f5f051158c768b993ace86baa (diff)
downloadxorg-driver-xf86-video-vesa-2f2436b4fe70a1f1a47c4ed112e8aefba3c8efe3.tar.gz
VESADGASetMode: remove unused variable scrnIdx
vesa.c: In function ‘VESADGASetMode’: vesa.c:1790:9: warning: unused variable ‘scrnIdx’ [-Wunused-variable] int scrnIdx = pScrn->pScreen->myNum; ^~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/vesa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vesa.c b/src/vesa.c
index b2a1922..b6b0367 100644
--- a/src/vesa.c
+++ b/src/vesa.c
@@ -1787,7 +1787,6 @@ static Bool
VESADGASetMode(ScrnInfoPtr pScrn, DGAModePtr pDGAMode)
{
DisplayModePtr pMode;
- int scrnIdx = pScrn->pScreen->myNum;
int frameX0, frameY0;
if (pDGAMode) {