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 | daf13be7e11a56cd0024067ed3d406d9b2a0b883 (patch) | |
tree | 91ad3d1ae8366beb8b0b9210a5c21d9693f8852e | |
parent | 7b7f09bacf255e93a94f91f260e2d5f11b5933cd (diff) | |
download | glu-daf13be7e11a56cd0024067ed3d406d9b2a0b883.tar.gz |
glu/sgi: Initialize member of class O_pwlcurve.
-rw-r--r-- | src/libnurbs/internals/reader.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libnurbs/internals/reader.cc b/src/libnurbs/internals/reader.cc index 6135eef..c59240d 100644 --- a/src/libnurbs/internals/reader.cc +++ b/src/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 ) { |