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 74450352d8c32edc904488099fdbe47d2bf9f3f0..5be1ae3976aadbbfec4d5b8ac1f7d7432672f13d 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]));