svga: Silence warning
authorJakob Bornecrantz <jakob@vmware.com>
Mon, 9 Jan 2012 12:43:40 +0000 (13:43 +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/winsys/svga/drm/vmw_context.c

index b5ca84164402795708f77283bd493bde739b45dd..2edb5eae102849bf4e53976aa8accac017981ed9 100644 (file)
@@ -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