Mesa (master): i915: Silence unused variable warning in non-debug builds.
Vinson Lee
vlee at kemper.freedesktop.org
Fri Oct 8 22:36:02 UTC 2010
Module: Mesa
Branch: master
Commit: 0f4984a0fb5a59efe8e3d954e9deb5ec83177e90
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f4984a0fb5a59efe8e3d954e9deb5ec83177e90
Author: Vinson Lee <vlee at vmware.com>
Date: Fri Oct 8 15:33:44 2010 -0700
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 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 0775d7f..9f07d77 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
More information about the mesa-commit
mailing list