From d7065908e48b296cceb0e1b756e9560a013881a2 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 25 Sep 2010 12:25:44 -0700 Subject: r600g: Remove unused variable. Fixes this GCC warning. r600_draw.c: In function 'r600_draw_common': r600_draw.c:71: warning: unused variable 'format' --- src/gallium/drivers/r600/r600_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3