glu/sgi: Initialize member of struct Property.
authorVinson Lee <vlee@vmware.com>
Sat, 2 Jan 2010 07:01:03 +0000 (23:01 -0800)
committerVinson Lee <vlee@vmware.com>
Sat, 2 Jan 2010 07:01:03 +0000 (23:01 -0800)
src/glu/sgi/libnurbs/internals/reader.h

index faa26101cf327effb3b38679fb8a25c3ed36738d..48249466f369aa4b11848178e7de9939a12eef7e 100644 (file)
@@ -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; }
     };