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 <connor.behan@gmail.com>
This commit is contained in:
Connor Behan
2024-11-18 19:08:20 -03:00
parent ca65baf6f0
commit f33c0d07f3

View File

@@ -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");