mirror of
https://github.com/X11Libre/xf86-video-ast.git
synced 2026-03-24 01:24:41 +00:00
ASTSaveScreen: Fix build on SPARC
ast_driver.c: In function ‘ASTSaveScreen’:
ast_driver.c:1257:1: error: no return statement in function returning
non-void [-Werror=return-type]
1257 | }
| ^
Fixes: dc971ee ("fix segmentation fault issue if enable XEN")
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
5c471f61d8
commit
e4728353b5
@@ -1207,8 +1207,8 @@ ASTSaveScreen(ScreenPtr pScreen, Bool unblack)
|
||||
if ((pScrn != NULL) && pScrn->vtSema) {
|
||||
ASTBlankScreen(pScrn, unblack);
|
||||
}
|
||||
return (TRUE);
|
||||
#endif
|
||||
return (TRUE);
|
||||
}
|
||||
|
||||
static Bool
|
||||
|
||||
Reference in New Issue
Block a user