From f8737bda37510672415269f205ca5b0c69454edf 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/glu/sgi/libnurbs/internals/reader.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/glu/sgi/libnurbs/internals/reader.cc b/src/glu/sgi/libnurbs/internals/reader.cc index 6135eef60ee..c59240d26ab 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 ) { -- cgit v1.2.3