summaryrefslogtreecommitdiffstats
path: root/src/glu/sgi/libnurbs/internals/intersect.cc
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-05-12 15:29:36 +0000
committerBrian Paul <[email protected]>2004-05-12 15:29:36 +0000
commitf1cfb4b7a79c38a6c03795eb5e3dd9076e51d9ef (patch)
tree28ae042f21f2381af242e57125090913d70e9105 /src/glu/sgi/libnurbs/internals/intersect.cc
parent2e66f7eef79610675d66624aba97190ecca26299 (diff)
fix compiler warnings (Jerome Glisse)
Diffstat (limited to 'src/glu/sgi/libnurbs/internals/intersect.cc')
-rw-r--r--src/glu/sgi/libnurbs/internals/intersect.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/glu/sgi/libnurbs/internals/intersect.cc b/src/glu/sgi/libnurbs/internals/intersect.cc
index 2d69224b2ae..118810a0da1 100644
--- a/src/glu/sgi/libnurbs/internals/intersect.cc
+++ b/src/glu/sgi/libnurbs/internals/intersect.cc
@@ -35,8 +35,8 @@
/*
* intersect.c++
*
- * $Date: 2001/03/17 00:25:41 $ $Revision: 1.1 $
- * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/internals/intersect.cc,v 1.1 2001/03/17 00:25:41 brianp Exp $
+ * $Date: 2004/05/12 15:29:36 $ $Revision: 1.2 $
+ * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/internals/intersect.cc,v 1.2 2004/05/12 15:29:36 brianp Exp $
*/
#include "glimports.h"
@@ -175,7 +175,7 @@ int
Subdivider::arc_split( Arc_ptr jarc, int param, REAL value, int dir )
{
int maxvertex = jarc->pwlArc->npts;
- Arc_ptr jarc1, jarc2, jarc3;
+ Arc_ptr jarc1;
TrimVertex* v = jarc->pwlArc->pts;
int loc[3];
@@ -258,7 +258,8 @@ Subdivider::arc_split( Arc_ptr jarc, int param, REAL value, int dir )
#endif //not NOTDEF
// JEB: This is the original version:
#ifdef NOTDEF
-
+ Arc_ptr jarc2, jarc3;
+
TrimVertex *newjunk = trimvertexpool.get(3);
v[i].nuid = jarc->nuid;
v[j].nuid = jarc->nuid;