[Mesa-dev] [PATCH 09/12] svga: Silence warning

Jakob Bornecrantz jakob at vmware.com
Mon Jan 9 14:53:14 PST 2012


Signed-off-by: Jakob Bornecrantz <jakob at vmware.com>
---
 src/gallium/drivers/svga/svga_pipe_draw.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/svga/svga_pipe_draw.c b/src/gallium/drivers/svga/svga_pipe_draw.c
index c61d5d0..541a234 100644
--- a/src/gallium/drivers/svga/svga_pipe_draw.c
+++ b/src/gallium/drivers/svga/svga_pipe_draw.c
@@ -399,6 +399,9 @@ svga_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info)
       }
    }
 
+   /* XXX: Silence warnings, do something sensible here? */
+   (void)ret;
+
    svga_release_user_upl_buffers( svga );
 
    if (SVGA_DEBUG & DEBUG_FLUSH) {
-- 
1.7.5.4



More information about the mesa-dev mailing list