draw: Initialize variable in draw_pt.c.
authorVinson Lee <vlee@vmware.com>
Sat, 21 Nov 2009 00:03:48 +0000 (16:03 -0800)
committerVinson Lee <vlee@vmware.com>
Sat, 5 Dec 2009 23:11:41 +0000 (15:11 -0800)
(cherry picked from commit ea98e9820d7117f7a187f355445796b1ef5d9e0c)

src/gallium/auxiliary/draw/draw_pt.c

index dbb5ac71821ae266729a4bf22d8461d5e2740cb9..4865a2d85421cc28f74fc753629bce7db1503d8c 100644 (file)
@@ -192,7 +192,8 @@ draw_print_arrays(struct draw_context *draw, uint prim, int start, uint count)
                 prim, start, count);
 
    for (i = 0; i < count; i++) {
-      uint ii, j;
+      uint ii = 0;
+      uint j;
 
       if (draw->pt.user.elts) {
          /* indexed arrays */