From: Vinson Lee Date: Sat, 25 Sep 2010 19:25:44 +0000 (-0700) Subject: r600g: Remove unused variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7065908e48b296cceb0e1b756e9560a013881a2;p=mesa.git r600g: Remove unused variable. Fixes this GCC warning. r600_draw.c: In function 'r600_draw_common': r600_draw.c:71: warning: unused variable 'format' --- diff --git a/src/gallium/drivers/r600/r600_draw.c b/src/gallium/drivers/r600/r600_draw.c index 5b389462e72..afc3b7bba16 100644 --- a/src/gallium/drivers/r600/r600_draw.c +++ b/src/gallium/drivers/r600/r600_draw.c @@ -68,7 +68,7 @@ static int r600_draw_common(struct r600_draw *draw) /* FIXME vs_resource */ struct radeon_state *vs_resource; struct r600_resource *rbuffer; - unsigned i, j, offset, format, prim; + unsigned i, j, offset, prim; u32 vgt_dma_index_type, vgt_draw_initiator; struct pipe_vertex_buffer *vertex_buffer; int r;