mirror of
https://github.com/X11Libre/xf86-video-ast.git
synced 2026-03-24 01:24:41 +00:00
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:
committed by
Enrico Weigelt, metux IT consult
parent
f5a67a76da
commit
70ec6553a3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user