summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-07 09:10:58 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-07 09:13:25 -0800
commit130321a4fef9be61b1f0d733e71663f415c9d475 (patch)
tree8001fa225ca69ff0704b907d0d87c04d9102df98
parent56a765d5dfc300b1400fd28d0a7187d50e808488 (diff)
Fix -Wunused-variable warning
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/dummy_driver.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dummy_driver.c b/src/dummy_driver.c
index e5f742a..1764a1f 100644
--- a/src/dummy_driver.c
+++ b/src/dummy_driver.c
@@ -371,7 +371,6 @@ Bool DUMMYAdjustScreenPixmap(ScrnInfoPtr pScrn, int width, int height)
{
ScreenPtr pScreen = pScrn->pScreen;
PixmapPtr pPixmap = pScreen->GetScreenPixmap(pScreen);
- DUMMYPtr dPtr = DUMMYPTR(pScrn);
uint64_t cbLine = (width * xf86GetBppFromDepth(pScrn, pScrn->depth) / 8 + 3) & ~3;
int displayWidth = cbLine * 8 / xf86GetBppFromDepth(pScrn, pScrn->depth);