From: Vinson Lee Date: Sun, 26 Sep 2010 10:08:14 +0000 (-0700) Subject: r300g: Remove unused variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4743c7fbe766624889411f71ebfec87e09c6e21b;p=mesa.git r300g: Remove unused variable. Fixes this GCC warning. r300_state.c: In function 'r300_create_rs_state': r300_state.c:925: warning: unused variable 'i' --- diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index cfb0a85243e..f2479a994c8 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -922,7 +922,6 @@ static void* r300_create_rs_state(struct pipe_context* pipe, const struct pipe_rasterizer_state* state) { struct r300_rs_state* rs = CALLOC_STRUCT(r300_rs_state); - int i; float psiz; uint32_t vap_control_status; /* R300_VAP_CNTL_STATUS: 0x2140 */ uint32_t point_size; /* R300_GA_POINT_SIZE: 0x421c */