From: Vinson Lee Date: Fri, 8 Oct 2010 22:33:44 +0000 (-0700) Subject: i915: Silence unused variable warning in non-debug builds. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f4984a0fb5a59efe8e3d954e9deb5ec83177e90;p=mesa.git 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' --- diff --git a/src/mesa/drivers/dri/i915/i830_vtbl.c b/src/mesa/drivers/dri/i915/i830_vtbl.c index 0775d7fe943..9f07d7760a9 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