diff options
author | Brian Paul <[email protected]> | 2015-05-29 16:00:14 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-06-01 07:42:02 -0600 |
commit | 71afc13eda53f36827f19e96404ff782561b523b (patch) | |
tree | d196ea7226cf916d924dbeaa28bb905114cef05c /src/gallium | |
parent | 875918587156e139a82ac9ece9c1290b8019d007 (diff) |
pipebuffer: silence unused var warnings for non-debug build
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c index 3bd9cd70ae3..fc81e11b972 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c +++ b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c @@ -376,6 +376,7 @@ fenced_buffer_finish_locked(struct fenced_manager *fenced_mgr, /* TODO: remove consequents buffers with the same fence? */ assert(!destroyed); + (void) destroyed; /* silence unused var warning for non-debug build */ fenced_buf->flags &= ~PB_USAGE_GPU_READ_WRITE; |