From: Vinson Lee Date: Thu, 24 Dec 2009 01:50:02 +0000 (-0800) Subject: glu/sgi: Initialize variable in directedLine. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=261c3cd530437362f906ef78459ffda7ab2b2077;p=mesa.git glu/sgi: Initialize variable in directedLine. --- diff --git a/src/glu/sgi/libnurbs/nurbtess/directedLine.cc b/src/glu/sgi/libnurbs/nurbtess/directedLine.cc index 74450352d8c..5be1ae3976a 100644 --- a/src/glu/sgi/libnurbs/nurbtess/directedLine.cc +++ b/src/glu/sgi/libnurbs/nurbtess/directedLine.cc @@ -800,7 +800,7 @@ directedLine* readAllPolygons(char* filename) { Int nEdges; fscanf(fp, "%i", &nEdges); - Real vert[2][2]; + Real vert[2][2] = { { 0 } }; Real VV[2][2]; /*the first two vertices*/ fscanf(fp, "%f", &(vert[0][0]));