Mesa (mesa_7_7_branch): glu/sgi: Initialize members of struct O_nurbscurve.

Vinson Lee vlee at kemper.freedesktop.org
Sat Jan 2 01:20:27 UTC 2010


Module: Mesa
Branch: mesa_7_7_branch
Commit: 64a19610112efdbde9daa81b742a081832d186e9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64a19610112efdbde9daa81b742a081832d186e9

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Jan  1 17:19:27 2010 -0800

glu/sgi: Initialize members of struct O_nurbscurve.

---

 src/glu/sgi/libnurbs/internals/reader.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glu/sgi/libnurbs/internals/reader.h b/src/glu/sgi/libnurbs/internals/reader.h
index e5ec182..faa2610 100644
--- a/src/glu/sgi/libnurbs/internals/reader.h
+++ b/src/glu/sgi/libnurbs/internals/reader.h
@@ -77,7 +77,7 @@ struct O_nurbscurve : public PooledObj {
     int			save;		/* 1 if in display list		*/
     O_curve *		owner;		/* owning curve 		*/
 			O_nurbscurve( long _type ) 
-			   { type = _type; owner = 0; next = 0; used = 0; }
+			   { bezier_curves = 0; type = _type; tesselation = 0; method = 0; next = 0; used = 0; save = 0; owner = 0; }
     };
  
 class O_pwlcurve : public PooledObj {




More information about the mesa-commit mailing list