projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
683e3cb
)
glu/sgi: Initialize member of class O_pwlcurve.
author
Vinson Lee
<vlee@vmware.com>
Sun, 10 Jan 2010 07:25:49 +0000
(23:25 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 10 Jan 2010 07:25:49 +0000
(23:25 -0800)
src/glu/sgi/libnurbs/internals/reader.cc
patch
|
blob
|
history
diff --git
a/src/glu/sgi/libnurbs/internals/reader.cc
b/src/glu/sgi/libnurbs/internals/reader.cc
index 6135eef60eec150fcb8fee511e171b02360a882b..c59240d26ab629529f0fad88379c2776748c5509 100644
(file)
--- a/
src/glu/sgi/libnurbs/internals/reader.cc
+++ b/
src/glu/sgi/libnurbs/internals/reader.cc
@@
-64,6
+64,7
@@
O_pwlcurve::O_pwlcurve( long _type, long count, INREAL *array, long byte_stride,
owner = 0;
pts = trimpts;
npts = (int) count;
+ save = 0;
int i;
/* copy user data into internal trimming data structures */
@@
-115,6
+116,7
@@
O_pwlcurve::O_pwlcurve( long _type, long count, INREAL *array, long byte_stride,
owner = 0;
pts = trimpts;
npts = (int) count;
+ save = 0;
/* copy user data into internal trimming data structures */
switch( _type ) {