diff options
author | Vinson Lee <[email protected]> | 2009-12-23 17:50:02 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-23 17:50:02 -0800 |
commit | 261c3cd530437362f906ef78459ffda7ab2b2077 (patch) | |
tree | a122c01a181af47da75a08bf5027043df0dc8d7e /src/glu | |
parent | 520955a0cd16d29ddae194ff7efc262b0d5a4fc4 (diff) |
glu/sgi: Initialize variable in directedLine.
Diffstat (limited to 'src/glu')
-rw-r--r-- | src/glu/sgi/libnurbs/nurbtess/directedLine.cc | 2 |
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 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])); |