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

index 48249466f369aa4b11848178e7de9939a12eef7e..14f07d3c15a244e904782c9b8b96f2815f0d4093 100644 (file)
@@ -95,7 +95,7 @@ struct O_trim : public PooledObj {
     O_curve            *o_curve;       /* closed trim loop             */
     O_trim *           next;           /* next loop along trim         */
     int                        save;           /* 1 if in display list         */
-                       O_trim() { next = 0; o_curve = 0; }
+                       O_trim() { next = 0; o_curve = 0; save = 0; }
     };
 
 struct O_nurbssurface : public PooledObj {