Mesa (mesa_7_7_branch): softpipe: Silence unused variable warning.

Vinson Lee vlee at kemper.freedesktop.org
Sun Dec 27 17:53:23 PST 2009


Module: Mesa
Branch: mesa_7_7_branch
Commit: 180ccffe550698d860e06d3cf5e16e4d9c3e7ddd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=180ccffe550698d860e06d3cf5e16e4d9c3e7ddd

Author: Vinson Lee <vlee at vmware.com>
Date:   Sun Dec 27 17:52:47 2009 -0800

softpipe: Silence unused variable warning.

---

 src/gallium/drivers/softpipe/sp_prim_vbuf.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_prim_vbuf.c b/src/gallium/drivers/softpipe/sp_prim_vbuf.c
index 5fbac06..7f573ae 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 */
 }
 



More information about the mesa-commit mailing list