mirror of
https://github.com/X11Libre/xf86-video-ast.git
synced 2026-03-24 01:24:41 +00:00
ASTStopVideo: drop unused variable pAST
ast_driver.c: In function ‘ASTStopVideo’:
ast_driver.c:1800:12: warning: unused variable ‘pAST’ [-Wunused-variable]
1800 | ASTPtr pAST = ASTPTR(pScrn);
| ^~~~
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
70ec6553a3
commit
a486313172
@@ -1797,7 +1797,6 @@ static XF86AttributeRec ASTAttributes[NUM_ATTRIBUTES] =
|
||||
static void ASTStopVideo(ScrnInfoPtr pScrn, pointer data, Bool exit)
|
||||
{
|
||||
ASTPortPrivPtr pPriv = (ASTPortPrivPtr)data;
|
||||
ASTPtr pAST = ASTPTR(pScrn);
|
||||
|
||||
REGION_EMPTY(pScrn->pScreen, &pPriv->clip);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user