st/xa: silence unused variable warning
authorBrian Paul <brianp@vmware.com>
Thu, 18 Sep 2014 16:22:20 +0000 (10:22 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 22 Sep 2014 14:04:34 +0000 (08:04 -0600)
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/state_trackers/xa/xa_tracker.c

index 268d56b0a16d53c609343b1e1250e7f5a61bb5cd..f69ac8edf2774a1dfd2d824d4a2ea6fc0c55ef4f 100644 (file)
@@ -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)