i915g: Silence unused variable warning.
authorVinson Lee <vlee@vmware.com>
Mon, 28 Dec 2009 02:09:58 +0000 (18:09 -0800)
committerVinson Lee <vlee@vmware.com>
Mon, 28 Dec 2009 02:09:58 +0000 (18:09 -0800)
src/gallium/drivers/i915/i915_buffer.c

index effeba12972dd90fc4b5c3427c1287788916965c..669964770d41fc6bf7857d917741cba958b41c0b 100644 (file)
@@ -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