summaryrefslogtreecommitdiff
path: root/src/dummy_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dummy_driver.c')
-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);