projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff72c79
)
i915: Silence unused variable warning in non-debug builds.
author
Vinson Lee
<vlee@vmware.com>
Fri, 8 Oct 2010 22:49:02 +0000
(15:49 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 8 Oct 2010 22:49:02 +0000
(15:49 -0700)
Fixes this GCC warning.
i915_vtbl.c: In function 'i915_assert_not_dirty':
i915_vtbl.c:670: warning: unused variable 'dirty'
src/mesa/drivers/dri/i915/i915_vtbl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i915/i915_vtbl.c
b/src/mesa/drivers/dri/i915/i915_vtbl.c
index d7828a296adaf44b0f16e23eb5b2b0d142f5f08e..8fa24e481511390079b80a2f4fdea16411221caa 100644
(file)
--- a/
src/mesa/drivers/dri/i915/i915_vtbl.c
+++ b/
src/mesa/drivers/dri/i915/i915_vtbl.c
@@
-669,6
+669,7
@@
i915_assert_not_dirty( struct intel_context *intel )
struct i915_context *i915 = i915_context(&intel->ctx);
GLuint dirty = get_dirty(&i915->state);
assert(!dirty);
+ (void) dirty;
}
void