diff options
author | Vinson Lee <vlee@vmware.com> | 2009-11-20 16:03:48 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2009-12-05 15:11:41 -0800 |
commit | 3cd745515e72c42efcd0c9f7d30e58f46f821b98 (patch) | |
tree | e87fb22127e7a4677078edbe3da2d53a05e7f96e /src/gallium/auxiliary/draw | |
parent | b2953ee1a655a010f36b5fc1b47f8bd8b06ce368 (diff) |
draw: Initialize variable in draw_pt.c.
(cherry picked from commit ea98e9820d7117f7a187f355445796b1ef5d9e0c)
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c index dbb5ac7182..4865a2d854 100644 --- a/src/gallium/auxiliary/draw/draw_pt.c +++ b/src/gallium/auxiliary/draw/draw_pt.c @@ -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 */ |