From f33c0d07f349f60821de981d82b26fd12c6190f0 Mon Sep 17 00:00:00 2001 From: Connor Behan Date: Mon, 18 Nov 2024 19:08:20 -0300 Subject: [PATCH] Comment unused variable A few other variables are unused but they are setting using register reads so I am afraid to touch them. Signed-off-by: Connor Behan --- src/lx_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lx_video.c b/src/lx_video.c index 2b65ee8..ea16ad4 100644 --- a/src/lx_video.c +++ b/src/lx_video.c @@ -295,12 +295,12 @@ LXCopyPacked(ScrnInfoPtr pScrni, int id, unsigned char *buf, GeodeRec *pGeode = GEODEPTR(pScrni); unsigned int dstPitch, srcPitch; unsigned int srcOffset, dstOffset; - unsigned int lines, top, left, pixels; + unsigned int top, left, pixels; dstPitch = ((width << 1) + 3) & ~3; srcPitch = (width << 1); - lines = ((dstPitch * height) + pGeode->Pitch - 1) / pGeode->Pitch; + /* lines = ((dstPitch * height) + pGeode->Pitch - 1) / pGeode->Pitch; */ if (LXAllocateVidMem(pScrni, pPriv, dstPitch * height) == FALSE) { ErrorF("Error allocating an offscreen Packed region.\n");