draw: remove set-but-unused variable
authorMarek Olšák <maraeo@gmail.com>
Sun, 1 May 2011 12:12:47 +0000 (14:12 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 1 May 2011 12:12:47 +0000 (14:12 +0200)
src/gallium/auxiliary/draw/draw_vertex.c

index a4f5e882c0a9137f5c5b467becfaab798cf16e54..a1b2b8ff975cd3b9843f281770a8bd3acc050f53 100644 (file)
@@ -60,10 +60,9 @@ draw_compute_vertex_size(struct vertex_info *vinfo)
 void
 draw_dump_emitted_vertex(const struct vertex_info *vinfo, const uint8_t *data)
 {
-   unsigned i, j;
+   unsigned i;
 
    for (i = 0; i < vinfo->num_attribs; i++) {
-      j = vinfo->attrib[i].src_index;
       switch (vinfo->attrib[i].emit) {
       case EMIT_OMIT:
          debug_printf("EMIT_OMIT:");