glu/sgi: Initialize members of struct O_curve.
authorVinson Lee <vlee@vmware.com>
Sun, 3 Jan 2010 04:04:00 +0000 (20:04 -0800)
committerVinson Lee <vlee@vmware.com>
Sun, 3 Jan 2010 04:04:00 +0000 (20:04 -0800)
src/glu/sgi/libnurbs/internals/reader.h

index 3390ce80e99af1cdd0f55b895474ac42d4a5fd07..cae6cada468d022bb0b1566f93b7c2ddf8304a80 100644 (file)
@@ -64,7 +64,7 @@ struct O_curve : public PooledObj {
     int                        save;           /* 1 if in display list         */
     long               nuid;
                        O_curve() { next = 0; used = 0; owner = 0; 
-                                   curve.o_pwlcurve = 0; }
+                                   curve.o_pwlcurve = 0; curvetype = ct_none; save = 0; nuid = 0; }
     };
 
 struct O_nurbscurve : public PooledObj {