diff options
author | Vinson Lee <vlee@vmware.com> | 2010-01-09 23:25:49 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-01-09 23:25:49 -0800 |
commit | f8737bda37510672415269f205ca5b0c69454edf (patch) | |
tree | 65d1a1a77643033ccae7fe537b7a568d79cd7b62 /src/glu/sgi | |
parent | 683e3cb8db5a57db2ebd364986a399e2b1009e00 (diff) |
glu/sgi: Initialize member of class O_pwlcurve.
Diffstat (limited to 'src/glu/sgi')
-rw-r--r-- | src/glu/sgi/libnurbs/internals/reader.cc | 2 |
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 ) { |