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

Author: Vinson Lee <[email protected]>
Date:   Tue Dec 29 17:22:11 2009 -0800

glu/sgi: Initialize members of class sampledLine.

---

 src/glu/sgi/libnurbs/nurbtess/sampledLine.cc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/glu/sgi/libnurbs/nurbtess/sampledLine.cc 
b/src/glu/sgi/libnurbs/nurbtess/sampledLine.cc
index 6253a7c..89f6c6e 100644
--- a/src/glu/sgi/libnurbs/nurbtess/sampledLine.cc
+++ b/src/glu/sgi/libnurbs/nurbtess/sampledLine.cc
@@ -107,6 +107,9 @@ sampledLine::sampledLine(Real pt1[2], Real pt2[2])
 //needs tp call init to setup
 sampledLine::sampledLine()
 {
+  npoints = 0;
+  points = NULL;
+  next = NULL;
 }
 
 //warning: ONLY pointer is copies!!!

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

Reply via email to