diff options
author | Vinson Lee <[email protected]> | 2010-09-24 23:17:55 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-09-24 23:17:55 -0700 |
commit | 95cb6d30ae442614acd3cf1bee3c19517abb6d63 (patch) | |
tree | 27f0acb98a4cb38ecaeea94f07704f517e9d0431 | |
parent | 68fdd5f0d9d66f3b9c103a5ec0674a5f8e4c93d7 (diff) |
r600g: Remove unused variable.
Fixes this GCC warning.
eg_hw_states.c: In function 'eg_resource':
eg_hw_states.c:525: warning: unused variable 'r'
-rw-r--r-- | src/gallium/drivers/r600/eg_hw_states.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/eg_hw_states.c b/src/gallium/drivers/r600/eg_hw_states.c index d545db26295..7ba53fefb5d 100644 --- 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; |