Module: Mesa
Branch: master
Commit: d7065908e48b296cceb0e1b756e9560a013881a2
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7065908e48b296cceb0e1b756e9560a013881a2

Author: Vinson Lee <v...@vmware.com>
Date:   Sat Sep 25 12:25:44 2010 -0700

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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_draw.c 
b/src/gallium/drivers/r600/r600_draw.c
index 5b38946..afc3b7b 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;

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to