diff options
author | Vinson Lee <[email protected]> | 2010-02-12 00:36:00 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-02-12 00:36:00 -0800 |
commit | b5b1b452cd6bc83291156871dbab1a00f73349d9 (patch) | |
tree | 2adf14c7ed35a7362eb6863476085e16dddf4ece /src/glu/sgi/libnurbs/internals | |
parent | 977fa273608d6bab3973c6ccce3b303e26204364 (diff) |
glu/sgi: Initialize members of class Arc.
Diffstat (limited to 'src/glu/sgi/libnurbs/internals')
-rw-r--r-- | 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 e986019c3a7..ca397f3b1fd 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; |