summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-10-08 15:49:02 -0700
committerVinson Lee <[email protected]>2010-10-08 15:49:02 -0700
commit220c0834a45d1dfa71f192b17d9a9b959a5a807e (patch)
treeb54d1a2fbe131375fce50fe2c1c7c2ae7daf5843 /src/mesa/drivers/dri/i915
parentff72c799242f2bea19bb0fa8283bf78d76c86d15 (diff)
i915: Silence unused variable warning in non-debug builds.
Fixes this GCC warning. i915_vtbl.c: In function 'i915_assert_not_dirty': i915_vtbl.c:670: warning: unused variable 'dirty'
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/i915_vtbl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_vtbl.c b/src/mesa/drivers/dri/i915/i915_vtbl.c
index d7828a296ad..8fa24e48151 100644
--- a/src/mesa/drivers/dri/i915/i915_vtbl.c
+++ b/src/mesa/drivers/dri/i915/i915_vtbl.c
@@ -669,6 +669,7 @@ i915_assert_not_dirty( struct intel_context *intel )
struct i915_context *i915 = i915_context(&intel->ctx);
GLuint dirty = get_dirty(&i915->state);
assert(!dirty);
+ (void) dirty;
}
void