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:
Alan Coopersmith
2025-07-27 13:56:00 -07:00
committed by Enrico Weigelt, metux IT consult
parent 70ec6553a3
commit a486313172

View File

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