summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-08-22 11:10:20 -0600
committerBrian Paul <[email protected]>2017-08-24 07:30:22 -0600
commitf883ede9490d3613e7b2b8034e0c0baa3929b37c (patch)
treef0a548a6e52f4af6bc0c86860761c800a217f24d
parent96be442b7795a6eb3d50f4061f2b98dddc39aa4d (diff)
pipe-loader: use MAYBE_UNUSED to silence warning
Trivial.
-rw-r--r--src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c
index 677814ad263..84894c0caf6 100644
--- 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)