summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipebuffer
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-04-25 15:27:33 +0100
committerKeith Whitwell <[email protected]>2008-04-28 18:11:55 +0100
commita41b78d107264227f3338446e04dcfda32634f52 (patch)
treebf1bdb5dac822770c1a21d8798a47ac147709c0c /src/gallium/auxiliary/pipebuffer
parentb6d9666a420bd7c31a6696f94ba1025e5204d458 (diff)
pb: remove unused variable, squash warning
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer')
-rw-r--r--src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
index a92daf91dd7..2fa08429715 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
+++ b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
@@ -134,8 +134,6 @@ _fenced_buffer_add(struct fenced_buffer *fenced_buf)
static INLINE void
_fenced_buffer_destroy(struct fenced_buffer *fenced_buf)
{
- struct fenced_buffer_list *fenced_list = fenced_buf->list;
-
assert(!fenced_buf->base.base.refcount);
assert(!fenced_buf->fence);
pb_reference(&fenced_buf->buffer, NULL);