From: Vinson Lee Date: Sat, 25 Sep 2010 06:17:55 +0000 (-0700) Subject: r600g: Remove unused variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95cb6d30ae442614acd3cf1bee3c19517abb6d63;p=mesa.git 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' --- 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;