vInitAST2300DRAMReg: drop unused variable i

ast_vgatool.c: In function ‘vInitAST2300DRAMReg’:
ast_vgatool.c:2887:11: warning: unused variable ‘i’ [-Wunused-variable]
 2887 |     ULONG i, ulTemp;
      |           ^

Fixes: b4466da ("xf86-video-ast-0.92.02")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>
This commit is contained in:
Alan Coopersmith
2025-07-27 12:25:24 -07:00
committed by Enrico Weigelt, metux IT consult
parent f5a67a76da
commit 70ec6553a3

View File

@@ -2884,7 +2884,7 @@ static void vInitAST2300DRAMReg(ScrnInfoPtr pScrn)
{
ASTRecPtr pAST = ASTPTR(pScrn);
AST2300DRAMParam param;
ULONG i, ulTemp;
ULONG ulTemp;
UCHAR jReg;
GetIndexRegMask(CRTC_PORT, 0xD0, 0xFF, jReg);