projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
520955a
)
glu/sgi: Initialize variable in directedLine.
author
Vinson Lee
<vlee@vmware.com>
Thu, 24 Dec 2009 01:50:02 +0000
(17:50 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 24 Dec 2009 01:50:02 +0000
(17:50 -0800)
src/glu/sgi/libnurbs/nurbtess/directedLine.cc
patch
|
blob
|
history
diff --git
a/src/glu/sgi/libnurbs/nurbtess/directedLine.cc
b/src/glu/sgi/libnurbs/nurbtess/directedLine.cc
index 74450352d8c32edc904488099fdbe47d2bf9f3f0..5be1ae3976aadbbfec4d5b8ac1f7d7432672f13d 100644
(file)
--- 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]));