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

Vinson Lee vlee at kemper.freedesktop.org
Sat Jan 2 23:47:04 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Jan  2 15:46:11 2010 -0800

glu/sgi: Initialize members of struct O_surface.

---

 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 14f07d3..3390ce8 100644
--- a/src/glu/sgi/libnurbs/internals/reader.h
+++ b/src/glu/sgi/libnurbs/internals/reader.h
@@ -114,7 +114,7 @@ struct O_surface : public PooledObj {
     O_trim *		o_trim;		/* list of trim loops		*/
     int			save;		/* 1 if in display list		*/
     long		nuid;
-			O_surface() { o_trim = 0; o_nurbssurface = 0; }
+			O_surface() { o_trim = 0; o_nurbssurface = 0; save = 0; nuid = 0; }
     };
 
 struct Property : public PooledObj {




More information about the mesa-commit mailing list