aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-05-01 14:12:47 +0200
committerMarek Olšák <[email protected]>2011-05-01 14:12:47 +0200
commitcacdc42e36d27d49b6deb0f1ea57f564ad31c88f (patch)
tree3ca44467cb10c34eecd2492923442724dcc59ebd /src/gallium/auxiliary
parent425cfa139b36b4ac01db248de3dc8ad4799cec5c (diff)
draw: remove set-but-unused variable
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/draw/draw_vertex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vertex.c b/src/gallium/auxiliary/draw/draw_vertex.c
index a4f5e882c0a..a1b2b8ff975 100644
--- a/src/gallium/auxiliary/draw/draw_vertex.c
+++ b/src/gallium/auxiliary/draw/draw_vertex.c
@@ -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:");