projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96be442
)
pipe-loader: use MAYBE_UNUSED to silence warning
author
Brian Paul
<brianp@vmware.com>
Tue, 22 Aug 2017 17:10:20 +0000
(11:10 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 24 Aug 2017 13:30:22 +0000
(07:30 -0600)
Trivial.
src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c
b/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c
index 677814ad26302b194946d7fde5c129abe5db92aa..84894c0caf6993cf16243ba1aac9c527cc3d4f3f 100644
(file)
--- a/
src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c
+++ b/
src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c
@@
-270,7
+270,8
@@
fail:
static void
pipe_loader_sw_release(struct pipe_loader_device **dev)
{
- struct pipe_loader_sw_device *sdev = pipe_loader_sw_device(*dev);
+ MAYBE_UNUSED struct pipe_loader_sw_device *sdev =
+ pipe_loader_sw_device(*dev);
#ifndef GALLIUM_STATIC_TARGETS
if (sdev->lib)