Mesa (master): glu/sgi: Initialize members of class Arc.

Vinson Lee vlee at kemper.freedesktop.org
Fri Feb 12 08:36:38 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Feb 12 00:36:00 2010 -0800

glu/sgi: Initialize members of class Arc.

---

 src/glu/sgi/libnurbs/internals/arc.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/glu/sgi/libnurbs/internals/arc.h b/src/glu/sgi/libnurbs/internals/arc.h
index e986019..ca397f3 100644
--- a/src/glu/sgi/libnurbs/internals/arc.h
+++ b/src/glu/sgi/libnurbs/internals/arc.h
@@ -108,6 +108,9 @@ public:
 inline
 Arc::Arc( Arc *j, PwlArc *p )
 {
+    prev = NULL;
+    next = NULL;
+    link = NULL;
     bezierArc = NULL;
     pwlArc = p;
     type = j->type;
@@ -123,6 +126,9 @@ Arc::Arc( Arc *j, PwlArc *p )
 inline
 Arc::Arc( arc_side side, long _nuid )
 {
+    prev = NULL;
+    next = NULL;
+    link = NULL;
     bezierArc = NULL;
     pwlArc = NULL;
     type = 0;




More information about the mesa-commit mailing list