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

index 14f07d3c15a244e904782c9b8b96f2815f0d4093..3390ce80e99af1cdd0f55b895474ac42d4a5fd07 100644 (file)
@@ -114,7 +114,7 @@ struct O_surface : public PooledObj {
     O_trim *           o_trim;         /* list of trim loops           */
     int                        save;           /* 1 if in display list         */
     long               nuid;
-                       O_surface() { o_trim = 0; o_nurbssurface = 0; }
+                       O_surface() { o_trim = 0; o_nurbssurface = 0; save = 0; nuid = 0; }
     };
 
 struct Property : public PooledObj {