From: Vinson Lee Date: Sun, 10 Jan 2010 07:25:49 +0000 (-0800) Subject: glu/sgi: Initialize member of class O_pwlcurve. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8737bda37510672415269f205ca5b0c69454edf;p=mesa.git glu/sgi: Initialize member of class O_pwlcurve. --- 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 ) {