summaryrefslogtreecommitdiff
path: root/src/glu/sgi
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-12-23 17:50:02 -0800
committerVinson Lee <vlee@vmware.com>2009-12-23 17:50:02 -0800
commit261c3cd530437362f906ef78459ffda7ab2b2077 (patch)
treea122c01a181af47da75a08bf5027043df0dc8d7e /src/glu/sgi
parent520955a0cd16d29ddae194ff7efc262b0d5a4fc4 (diff)
glu/sgi: Initialize variable in directedLine.
Diffstat (limited to 'src/glu/sgi')
-rw-r--r--src/glu/sgi/libnurbs/nurbtess/directedLine.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glu/sgi/libnurbs/nurbtess/directedLine.cc b/src/glu/sgi/libnurbs/nurbtess/directedLine.cc
index 74450352d8..5be1ae3976 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]));