glu/sgi: Initialize variable in directedLine.
authorVinson Lee <vlee@vmware.com>
Thu, 24 Dec 2009 01:50:02 +0000 (17:50 -0800)
committerVinson Lee <vlee@vmware.com>
Thu, 24 Dec 2009 01:50:02 +0000 (17:50 -0800)
src/glu/sgi/libnurbs/nurbtess/directedLine.cc

index 7445035..5be1ae3 100644 (file)
@@ -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]));