i915g: Fix warning
authorJakob Bornecrantz <wallbraker@gmail.com>
Mon, 21 Feb 2011 22:00:02 +0000 (22:00 +0000)
committerJakob Bornecrantz <wallbraker@gmail.com>
Mon, 21 Feb 2011 23:42:53 +0000 (23:42 +0000)
src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c

index 4cfc4a9..5894c13 100644 (file)
@@ -34,7 +34,6 @@ static void
 i915_drm_batchbuffer_reset(struct i915_drm_batchbuffer *batch)
 {
    struct i915_drm_winsys *idws = i915_drm_winsys(batch->base.iws);
-   int ret;
 
    if (batch->bo)
       drm_intel_bo_unreference(batch->bo);