svga: Silence warning
authorJakob Bornecrantz <jakob@vmware.com>
Mon, 9 Jan 2012 12:49:02 +0000 (13:49 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Tue, 10 Jan 2012 15:59:44 +0000 (16:59 +0100)
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by Brian Paul <brianp@vmware.com>

src/gallium/drivers/svga/svga_pipe_draw.c

index c61d5d000de7a2a1105885879f8ff2a831b809a4..541a2340159a52906a3a3df4af1217f2fe18470c 100644 (file)
@@ -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) {