From f883ede9490d3613e7b2b8034e0c0baa3929b37c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 22 Aug 2017 11:10:20 -0600 Subject: [PATCH] pipe-loader: use MAYBE_UNUSED to silence warning Trivial. --- src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.30.2