summaryrefslogtreecommitdiff
path: root/src/glu
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-01-09 23:25:49 -0800
committerVinson Lee <vlee@vmware.com>2010-01-09 23:25:49 -0800
commitf8737bda37510672415269f205ca5b0c69454edf (patch)
tree65d1a1a77643033ccae7fe537b7a568d79cd7b62 /src/glu
parent683e3cb8db5a57db2ebd364986a399e2b1009e00 (diff)
glu/sgi: Initialize member of class O_pwlcurve.
Diffstat (limited to 'src/glu')
-rw-r--r--src/glu/sgi/libnurbs/internals/reader.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glu/sgi/libnurbs/internals/reader.cc b/src/glu/sgi/libnurbs/internals/reader.cc
index 6135eef60e..c59240d26a 100644
--- 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 ) {