mirror of
https://github.com/X11Libre/xf86-video-ast.git
synced 2026-03-24 01:24:41 +00:00
vInitChrontelReg: drop unused variable pEnhModePtr
ast_mode.c: In function 'vInitChrontelReg':
ast_mode.c:1287:28: warning: unused variable 'pEnhModePtr' [-Wunused-variable]
1287 | PVBIOS_ENHTABLE_STRUCT pEnhModePtr = pVGAModeInfo->pEnhTableEntry;
| ^~~~~~~~~~~
Fixes: 9e8d848992
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:
@@ -1284,8 +1284,6 @@ static UCHAR GetChrontelReg(ASTRecPtr pAST, UCHAR jChannel, UCHAR jIndex)
|
||||
|
||||
static void vInitChrontelReg(ScrnInfoPtr pScrn, DisplayModePtr mode, PVBIOS_MODE_INFO pVGAModeInfo)
|
||||
{
|
||||
|
||||
PVBIOS_ENHTABLE_STRUCT pEnhModePtr = pVGAModeInfo->pEnhTableEntry;
|
||||
ASTRecPtr pAST = ASTPTR(pScrn);
|
||||
ULONG ulDCLK = 65; /* todo */
|
||||
UCHAR jReg;
|
||||
|
||||
Reference in New Issue
Block a user