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 4cfc4a9005f8462be4dcce7067dbda82dcd85f9e..5894c133c302d2a4e5d5ae289e32f5e3bfb324c3 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);