From f700370946972d26dae7ab54cbb186feea50579c Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Mon, 9 Jan 2012 13:43:40 +0100 Subject: [PATCH] svga: Silence warning Signed-off-by: Jakob Bornecrantz Reviewed-by Brian Paul --- src/gallium/winsys/svga/drm/vmw_context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/winsys/svga/drm/vmw_context.c b/src/gallium/winsys/svga/drm/vmw_context.c index b5ca8416440..2edb5eae102 100644 --- a/src/gallium/winsys/svga/drm/vmw_context.c +++ b/src/gallium/winsys/svga/drm/vmw_context.c @@ -300,6 +300,7 @@ vmw_swc_region_relocation(struct svga_winsys_context *swc, ret = pb_validate_add_buffer(vswc->validate, reloc->buffer, translated_flags); /* TODO: Update pipebuffer to reserve buffers and not fail here */ assert(ret == PIPE_OK); + (void)ret; /* * Flush preemptively the FIFO commands to keep the GMR working set within -- 2.30.2