From 13c78e77861fd3b75ad0ccfd7de7cac8f8f3665b Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Mon, 9 Jan 2012 13:49:02 +0100 Subject: [PATCH] svga: Silence warning Signed-off-by: Jakob Bornecrantz Reviewed-by Brian Paul --- src/gallium/drivers/svga/svga_pipe_draw.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/svga/svga_pipe_draw.c b/src/gallium/drivers/svga/svga_pipe_draw.c index c61d5d000de..541a2340159 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) { -- 2.30.2