summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-01-01 23:01:03 -0800
committerVinson Lee <vlee@vmware.com>2010-01-01 23:01:03 -0800
commit529154618595c6074d85c8eb107abc04c8608e09 (patch)
tree69737797a3ea67d35c81568acca8b689b0b4c9d1
parent1d22128cbecb8ac61c0af9afa2427b53b5d37ddd (diff)
downloadglu-529154618595c6074d85c8eb107abc04c8608e09.tar.gz
glu/sgi: Initialize member of struct Property.
-rw-r--r--src/libnurbs/internals/reader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnurbs/internals/reader.h b/src/libnurbs/internals/reader.h
index faa2610..4824946 100644
--- a/src/libnurbs/internals/reader.h
+++ b/src/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; }
};