pb: remove unused variable, squash warning
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 25 Apr 2008 14:27:33 +0000 (15:27 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 28 Apr 2008 17:11:55 +0000 (18:11 +0100)
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c

index a92daf91dd76869ceec798cbdf976450068bb092..2fa08429715dcc59dcc144cae702acab0983262d 100644 (file)
@@ -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);