Module: Mesa
Branch: mesa_7_7_branch
Commit: fe27b07b0fe7b63755add9bf522d7efcbf1ffb9b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe27b07b0fe7b63755add9bf522d7efcbf1ffb9b

Author: Vinson Lee <[email protected]>
Date:   Sat Jan  2 20:04:00 2010 -0800

glu/sgi: Initialize members of struct O_curve.

---

 src/glu/sgi/libnurbs/internals/reader.h |    2 +-
 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 3390ce8..cae6cad 100644
--- a/src/glu/sgi/libnurbs/internals/reader.h
+++ b/src/glu/sgi/libnurbs/internals/reader.h
@@ -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 {

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to