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

Vinson Lee vlee at kemper.freedesktop.org
Fri Jan 1 23:02:00 PST 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Jan  1 23:01:03 2010 -0800

glu/sgi: Initialize member of struct Property.

---

 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 faa2610..4824946 100644
--- a/src/glu/sgi/libnurbs/internals/reader.h
+++ b/src/glu/sgi/libnurbs/internals/reader.h
@@ -123,7 +123,7 @@ struct Property : public PooledObj {
     REAL		value;
     int			save;		/* 1 if in display list		*/
 			Property( long _type, long _tag, INREAL _value )
-			{ type = _type; tag = _tag; value = (REAL) _value; }
+			{ type = _type; tag = _tag; value = (REAL) _value; save = 0; }
 			Property( long _tag, INREAL _value )
 			{ type = 0; tag = _tag; value = (REAL) _value; save = 0; }
     };



More information about the mesa-commit mailing list