summaryrefslogtreecommitdiffstats
path: root/src/glu/sgi/libnurbs
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-01-01 23:01:03 -0800
committerVinson Lee <[email protected]>2010-01-01 23:01:03 -0800
commit37e5626111ea99409d41af9581a3bc32a5d1519f (patch)
treeda67c61eb15152fb4aa7927031edf1a287beabb4 /src/glu/sgi/libnurbs
parent646c8ce03217dbda87fd1f5aedddd3f75a477754 (diff)
glu/sgi: Initialize member of struct Property.
Diffstat (limited to 'src/glu/sgi/libnurbs')
-rw-r--r--src/glu/sgi/libnurbs/internals/reader.h2
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 faa26101cf3..48249466f36 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; }
};