Mesa (master): svga: Silence warning

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Tue Jan 10 16:01:36 UTC 2012


Module: Mesa
Branch: master
Commit: f700370946972d26dae7ab54cbb186feea50579c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f700370946972d26dae7ab54cbb186feea50579c

Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Mon Jan  9 13:43:40 2012 +0100

svga: Silence warning

Signed-off-by: Jakob Bornecrantz <jakob at vmware.com>
Reviewed-by Brian Paul <brianp at vmware.com>

---

 src/gallium/winsys/svga/drm/vmw_context.c |    1 +
 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 b5ca841..2edb5ea 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




More information about the mesa-commit mailing list