summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-10-08 15:33:44 -0700
committerVinson Lee <vlee@vmware.com>2010-10-08 15:35:35 -0700
commit0f4984a0fb5a59efe8e3d954e9deb5ec83177e90 (patch)
tree3608809eda162e0fa4b4b1c726c978fb50bebe3d /src/mesa/drivers/dri/i915
parent48156b87bc9d3e09ec34372d69504a787332ea0b (diff)
i915: Silence unused variable warning in non-debug builds.
Fixes this GCC warning. i830_vtbl.c: In function 'i830_assert_not_dirty': i830_vtbl.c:704: warning: unused variable 'i830'
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/i830_vtbl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/i830_vtbl.c b/src/mesa/drivers/dri/i915/i830_vtbl.c
index 0775d7fe94..9f07d7760a 100644
--- a/src/mesa/drivers/dri/i915/i830_vtbl.c
+++ b/src/mesa/drivers/dri/i915/i830_vtbl.c
@@ -703,6 +703,7 @@ i830_assert_not_dirty( struct intel_context *intel )
{
struct i830_context *i830 = i830_context(&intel->ctx);
assert(!get_dirty(&i830->state));
+ (void) i830;
}
static void