From daf13be7e11a56cd0024067ed3d406d9b2a0b883 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 9 Jan 2010 23:25:49 -0800 Subject: glu/sgi: Initialize member of class O_pwlcurve. --- src/libnurbs/internals/reader.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 ) { -- cgit v1.2.1