summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2012-01-09 13:43:40 +0100
committerJakob Bornecrantz <[email protected]>2012-01-10 16:59:44 +0100
commitf700370946972d26dae7ab54cbb186feea50579c (patch)
tree94ea3189cbc72bd6874da365784ac88d2ee9e320 /src
parent4a605293b269e755aae221539118ec322c59cd21 (diff)
svga: Silence warning
Signed-off-by: Jakob Bornecrantz <[email protected]> Reviewed-by Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/svga/drm/vmw_context.c1
1 files changed, 1 insertions, 0 deletions
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