From cc71457b48906f4f19d2735879c157f7f5f96edf Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 18 Sep 2014 10:22:20 -0600 Subject: [PATCH] st/xa: silence unused variable warning Reviewed-by: Emil Velikov --- src/gallium/state_trackers/xa/xa_tracker.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2