From: Keith Whitwell Date: Fri, 25 Apr 2008 14:27:33 +0000 (+0100) Subject: pb: remove unused variable, squash warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a41b78d107264227f3338446e04dcfda32634f52;p=mesa.git pb: remove unused variable, squash warning --- 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);