summaryrefslogtreecommitdiff
path: root/src/glu
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-02-12 00:36:00 -0800
committerVinson Lee <vlee@vmware.com>2010-02-12 00:36:00 -0800
commitb5b1b452cd6bc83291156871dbab1a00f73349d9 (patch)
tree2adf14c7ed35a7362eb6863476085e16dddf4ece /src/glu
parent977fa273608d6bab3973c6ccce3b303e26204364 (diff)
glu/sgi: Initialize members of class Arc.
Diffstat (limited to 'src/glu')
-rw-r--r--src/glu/sgi/libnurbs/internals/arc.h6
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 e986019c3a..ca397f3b1f 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;