Mesa (master): r600g: Remove unused variable.

Vinson Lee vlee at kemper.freedesktop.org
Sat Sep 25 06:18:49 UTC 2010


Module: Mesa
Branch: master
Commit: 95cb6d30ae442614acd3cf1bee3c19517abb6d63
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=95cb6d30ae442614acd3cf1bee3c19517abb6d63

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Sep 24 23:17:55 2010 -0700

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'

---

 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 d545db2..7ba53fe 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;




More information about the mesa-commit mailing list