projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8759185
)
pipebuffer: silence unused var warnings for non-debug build
author
Brian Paul
<brianp@vmware.com>
Fri, 29 May 2015 22:00:14 +0000
(16:00 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 1 Jun 2015 13:42:02 +0000
(07:42 -0600)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
index 3bd9cd70ae37280251f46d49fc123331a9e6126b..fc81e11b972a603ee2eb9b6d98e2a97cd22e47c4 100644
(file)
--- 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;