From: Brian Paul Date: Thu, 18 Sep 2014 16:22:20 +0000 (-0600) Subject: st/xa: silence unused variable warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc71457b48906f4f19d2735879c157f7f5f96edf;p=mesa.git st/xa: silence unused variable warning Reviewed-by: Emil Velikov --- 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)