diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2004-05-12 15:29:36 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2004-05-12 15:29:36 +0000 |
commit | f1cfb4b7a79c38a6c03795eb5e3dd9076e51d9ef (patch) | |
tree | 28ae042f21f2381af242e57125090913d70e9105 /src/glu/sgi/libnurbs/internals/arctess.cc | |
parent | 2e66f7eef79610675d66624aba97190ecca26299 (diff) |
fix compiler warnings (Jerome Glisse)
Diffstat (limited to 'src/glu/sgi/libnurbs/internals/arctess.cc')
-rw-r--r-- | src/glu/sgi/libnurbs/internals/arctess.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glu/sgi/libnurbs/internals/arctess.cc b/src/glu/sgi/libnurbs/internals/arctess.cc index 0ea84152ec..e633626de0 100644 --- a/src/glu/sgi/libnurbs/internals/arctess.cc +++ b/src/glu/sgi/libnurbs/internals/arctess.cc @@ -378,7 +378,9 @@ ArcTessellator::tessellateNonlinear( Arc *arc, REAL geo_stepsize, REAL arc_steps /* strength reduction on p = dp * step would introduce error */ int step; +#ifndef NOELIMINATION int ocanremove = 0; +#endif register long order = bezierArc->order; for( step=1, ++vert; step<nsteps; step++, vert++ ) { register REAL p = dp * step; @@ -439,7 +441,9 @@ ArcTessellator::tessellateNonlinear( Arc *arc, REAL geo_stepsize, REAL arc_steps /* strength reduction on p = dp * step would introduce error */ int step; +#ifndef NOELIMINATION int ocanremove = 0; +#endif register long order = bezierArc->order; for( step=1, ++vert; step<nsteps; step++, vert++ ) { register REAL p = dp * step; |