mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
st/xa: silence unused variable warning
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
0100d45b7e
commit
cc71457b48
1 changed files with 1 additions and 0 deletions
|
|
@ -148,6 +148,7 @@ xa_tracker_create(int drm_fd)
|
|||
|
||||
#if GALLIUM_STATIC_TARGETS
|
||||
xa->screen = dd_create_screen(drm_fd);
|
||||
(void) loader_fd; /* silence unused var warning */
|
||||
#else
|
||||
loader_fd = dup(drm_fd);
|
||||
if (loader_fd == -1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue