aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-09-18 10:22:20 -0600
committerBrian Paul <[email protected]>2014-09-22 08:04:34 -0600
commitcc71457b48906f4f19d2735879c157f7f5f96edf (patch)
tree83f13f9947340fa49dfd5d1de608c36cc9b12077
parent0100d45b7e9cf17e37c0a7688648da8dfb77337c (diff)
st/xa: silence unused variable warning
Reviewed-by: Emil Velikov <[email protected]>
-rw-r--r--src/gallium/state_trackers/xa/xa_tracker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xa/xa_tracker.c b/src/gallium/state_trackers/xa/xa_tracker.c
index 268d56b0a16..f69ac8edf27 100644
--- a/src/gallium/state_trackers/xa/xa_tracker.c
+++ b/src/gallium/state_trackers/xa/xa_tracker.c
@@ -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)