aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2011-02-21 22:00:02 +0000
committerJakob Bornecrantz <[email protected]>2011-02-21 23:42:53 +0000
commit593ba7b05b4052415fe99c2793da5864117d955b (patch)
treed046e23c8c864281cc531cbb083278f260459d53 /src/gallium/winsys
parent43e6fe5549edb7e837480f28b1262357568d54ea (diff)
i915g: Fix warning
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c b/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c
index 4cfc4a9005f..5894c133c30 100644
--- a/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c
+++ b/src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c
@@ -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);