projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68fdd5f
)
r600g: Remove unused variable.
author
Vinson Lee
<vlee@vmware.com>
Sat, 25 Sep 2010 06:17:55 +0000
(23:17 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 25 Sep 2010 06:17:55 +0000
(23:17 -0700)
Fixes this GCC warning.
eg_hw_states.c: In function 'eg_resource':
eg_hw_states.c:525: warning: unused variable 'r'
src/gallium/drivers/r600/eg_hw_states.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/eg_hw_states.c
b/src/gallium/drivers/r600/eg_hw_states.c
index d545db262955854b6a7827363cac84a2f62360b5..7ba53fefb5d15e432de609c09cd54d5ad33ca937 100644
(file)
--- a/
src/gallium/drivers/r600/eg_hw_states.c
+++ b/
src/gallium/drivers/r600/eg_hw_states.c
@@
-522,7
+522,6
@@
static void eg_resource(struct pipe_context *ctx, struct radeon_state *rstate,
unsigned format;
uint32_t word4 = 0, yuv_format = 0, pitch = 0;
unsigned char swizzle[4];
- int r;
rstate->cpm4 = 0;
swizzle[0] = view->swizzle_r;