From: Vinson Lee Date: Mon, 28 Dec 2009 01:52:47 +0000 (-0800) Subject: softpipe: Silence unused variable warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=180ccffe550698d860e06d3cf5e16e4d9c3e7ddd;p=mesa.git softpipe: Silence unused variable warning. --- diff --git a/src/gallium/drivers/softpipe/sp_prim_vbuf.c b/src/gallium/drivers/softpipe/sp_prim_vbuf.c index 5fbac06a535..7f573aef3c3 100644 --- a/src/gallium/drivers/softpipe/sp_prim_vbuf.c +++ b/src/gallium/drivers/softpipe/sp_prim_vbuf.c @@ -128,6 +128,7 @@ sp_vbuf_unmap_vertices(struct vbuf_render *vbr, { struct softpipe_vbuf_render *cvbr = softpipe_vbuf_render(vbr); assert( cvbr->vertex_buffer_size >= (max_index+1) * cvbr->vertex_size ); + (void) cvbr; /* do nothing */ }