projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0100d45
)
st/xa: silence unused variable warning
author
Brian Paul
<brianp@vmware.com>
Thu, 18 Sep 2014 16:22:20 +0000
(10:22 -0600)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/xa/xa_tracker.c
b/src/gallium/state_trackers/xa/xa_tracker.c
index 268d56b0a16d53c609343b1e1250e7f5a61bb5cd..f69ac8edf2774a1dfd2d824d4a2ea6fc0c55ef4f 100644
(file)
--- 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)