From 0f4984a0fb5a59efe8e3d954e9deb5ec83177e90 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 8 Oct 2010 15:33:44 -0700 Subject: [PATCH] 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' --- src/mesa/drivers/dri/i915/i830_vtbl.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2