r300g: Remove unused variable.
authorVinson Lee <vlee@vmware.com>
Sun, 26 Sep 2010 10:08:14 +0000 (03:08 -0700)
committerVinson Lee <vlee@vmware.com>
Sun, 26 Sep 2010 10:08:14 +0000 (03:08 -0700)
Fixes this GCC warning.
r300_state.c: In function 'r300_create_rs_state':
r300_state.c:925: warning: unused variable 'i'

src/gallium/drivers/r300/r300_state.c

index cfb0a85243e17b4b2296fc89a097555b2fe28598..f2479a994c85e1a406c07e75b41e34af1cf4c7e5 100644 (file)
@@ -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 */