projects
/
profile
/
ivi
/
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
7445035
..
5be1ae3
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]));