From b48f20dab8a93fe187f6e6d9d7544f07ed8148db Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Mon, 23 Aug 2010 22:15:24 -0700 Subject: r300g: Remove unused variable. Fixes this GCC warning. r300_render.c: In function 'r300_draw_flush_vbuf': r300_render.c:988: warning: unused variable 'r300_render' --- src/gallium/drivers/r300/r300_render.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gallium/drivers/r300') diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c index 73447057bb6..fc3844f7885 100644 --- a/src/gallium/drivers/r300/r300_render.c +++ b/src/gallium/drivers/r300/r300_render.c @@ -985,8 +985,6 @@ struct draw_stage* r300_draw_stage(struct r300_context* r300) void r300_draw_flush_vbuf(struct r300_context *r300) { - struct r300_render *r300render; - pipe_resource_reference(&r300->vbo, NULL); r300->draw_vbo_size = 0; } -- cgit v1.2.3