summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorGrazvydas Ignotas <[email protected]>2016-12-10 21:10:47 +0200
committerMarek Olšák <[email protected]>2016-12-10 21:25:45 +0100
commit15e12ab8fc06dabe8ef5d1704fe09b966f9d124b (patch)
treeabe674ad40ecea61d57a6e6faed2d683d4c0b63a /src/gallium
parentc81a89f66277fe7d9cb2353f39ccdae31efe2a12 (diff)
softpipe: fix release build unused variable warning
Signed-off-by: Grazvydas Ignotas <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/softpipe/sp_state_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_shader.c b/src/gallium/drivers/softpipe/sp_state_shader.c
index a7456628d80..b2eda244268 100644
--- a/src/gallium/drivers/softpipe/sp_state_shader.c
+++ b/src/gallium/drivers/softpipe/sp_state_shader.c
@@ -420,7 +420,7 @@ static void
softpipe_delete_compute_state(struct pipe_context *pipe,
void *cs)
{
- struct softpipe_context *softpipe = softpipe_context(pipe);
+ MAYBE_UNUSED struct softpipe_context *softpipe = softpipe_context(pipe);
struct sp_compute_shader *state = (struct sp_compute_shader *)cs;
assert(softpipe->cs != state);