From: Vinson Lee Date: Sat, 21 Nov 2009 00:03:48 +0000 (-0800) Subject: draw: Initialize variable in draw_pt.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3cd745515e72c42efcd0c9f7d30e58f46f821b98;p=mesa.git draw: Initialize variable in draw_pt.c. (cherry picked from commit ea98e9820d7117f7a187f355445796b1ef5d9e0c) --- diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c index dbb5ac71821..4865a2d8542 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 */