Mesa (mesa_7_7_branch): glu/sgi: Initialize member of struct O_trim.

Vinson Lee vlee at kemper.freedesktop.org
Sat Jan 2 23:30:09 UTC 2010


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

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

glu/sgi: Initialize member of struct O_trim.

---

 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 4824946..14f07d3 100644
--- a/src/glu/sgi/libnurbs/internals/reader.h
+++ b/src/glu/sgi/libnurbs/internals/reader.h
@@ -95,7 +95,7 @@ struct O_trim : public PooledObj {
     O_curve		*o_curve;	/* closed trim loop	 	*/
     O_trim *		next;		/* next loop along trim 	*/
     int			save;		/* 1 if in display list		*/
-			O_trim() { next = 0; o_curve = 0; }
+			O_trim() { next = 0; o_curve = 0; save = 0; }
     };
 
 struct O_nurbssurface : public PooledObj {




More information about the mesa-commit mailing list