Mesa (mesa_7_7_branch): i915g: Silence unused variable warning.

Vinson Lee vlee at kemper.freedesktop.org
Sun Dec 27 18:10:34 PST 2009


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sun Dec 27 18:09:58 2009 -0800

i915g: Silence unused variable warning.

---

 src/gallium/drivers/i915/i915_buffer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/i915/i915_buffer.c b/src/gallium/drivers/i915/i915_buffer.c
index effeba1..6699647 100644
--- a/src/gallium/drivers/i915/i915_buffer.c
+++ b/src/gallium/drivers/i915/i915_buffer.c
@@ -111,6 +111,7 @@ i915_buffer_unmap(struct pipe_screen *screen,
 {
    struct i915_buffer *buf = i915_buffer(buffer);
    assert(!buf->ibuf);
+   (void) buf;
 }
 
 static void



More information about the mesa-commit mailing list