OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48156b8
)
i915: Silence unused variable warning in non-debug builds.
author
Vinson Lee
<vlee@vmware.com>
Fri, 8 Oct 2010 22:33:44 +0000
(15:33 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 8 Oct 2010 22:35:35 +0000
(15:35 -0700)
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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i915/i830_vtbl.c
b/src/mesa/drivers/dri/i915/i830_vtbl.c
index
0775d7f
..
9f07d77
100644
(file)
--- 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