projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e96b311
)
r600: Remove unused variable.
author
Vinson Lee
<vlee@vmware.com>
Wed, 25 Aug 2010 02:04:19 +0000
(19:04 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 25 Aug 2010 02:04:19 +0000
(19:04 -0700)
Silences the following GCC warning.
evergreen_state.c: In function 'evergreenSetBlendState':
evergreen_state.c:341: warning: unused variable 'id'
src/mesa/drivers/dri/r600/evergreen_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r600/evergreen_state.c
b/src/mesa/drivers/dri/r600/evergreen_state.c
index 49ee525492ac6f05ca7b7361af94193ab45f1d97..931478caa5ae0aafdfbf225b470fa222a1c1cfa5 100644
(file)
--- a/
src/mesa/drivers/dri/r600/evergreen_state.c
+++ b/
src/mesa/drivers/dri/r600/evergreen_state.c
@@
-338,7
+338,6
@@
static void evergreenSetBlendState(GLcontext * ctx) //diff : CB_COLOR_CONTROL, C
{
context_t *context = EVERGREEN_CONTEXT(ctx);
EVERGREEN_CHIP_CONTEXT *evergreen = GET_EVERGREEN_CHIP(context);
- int id = 0;
uint32_t blend_reg = 0, eqn, eqnA;
EVERGREEN_STATECHANGE(context, cb);