From: Brian Paul Date: Tue, 22 Aug 2017 17:10:20 +0000 (-0600) Subject: pipe-loader: use MAYBE_UNUSED to silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f883ede9490d3613e7b2b8034e0c0baa3929b37c;p=mesa.git pipe-loader: use MAYBE_UNUSED to silence warning Trivial. --- 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)