From b5b1b452cd6bc83291156871dbab1a00f73349d9 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 12 Feb 2010 00:36:00 -0800 Subject: [PATCH] glu/sgi: Initialize members of class Arc. --- src/glu/sgi/libnurbs/internals/arc.h | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.30.2