Mesa (mesa_7_7_branch): glu/sgi: Initialize member of class O_pwlcurve.
Vinson Lee
vlee at kemper.freedesktop.org
Sun Jan 10 07:26:48 UTC 2010
Module: Mesa
Branch: mesa_7_7_branch
Commit: f8737bda37510672415269f205ca5b0c69454edf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8737bda37510672415269f205ca5b0c69454edf
Author: Vinson Lee <vlee at vmware.com>
Date: Sat Jan 9 23:25:49 2010 -0800
glu/sgi: Initialize member of class O_pwlcurve.
---
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 6135eef..c59240d 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 ) {
More information about the mesa-commit
mailing list