From 95cb6d30ae442614acd3cf1bee3c19517abb6d63 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 24 Sep 2010 23:17:55 -0700 Subject: [PATCH] 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 file changed, 1 deletion(-) 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; -- 2.30.2