diff options
author | Brian Paul <[email protected]> | 2004-05-12 15:29:36 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-05-12 15:29:36 +0000 |
commit | f1cfb4b7a79c38a6c03795eb5e3dd9076e51d9ef (patch) | |
tree | 28ae042f21f2381af242e57125090913d70e9105 /src/glu/sgi/libnurbs/internals/curve.cc | |
parent | 2e66f7eef79610675d66624aba97190ecca26299 (diff) |
fix compiler warnings (Jerome Glisse)
Diffstat (limited to 'src/glu/sgi/libnurbs/internals/curve.cc')
-rw-r--r-- | src/glu/sgi/libnurbs/internals/curve.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/glu/sgi/libnurbs/internals/curve.cc b/src/glu/sgi/libnurbs/internals/curve.cc index 5a5bc1770c1..5517afa2db4 100644 --- a/src/glu/sgi/libnurbs/internals/curve.cc +++ b/src/glu/sgi/libnurbs/internals/curve.cc @@ -35,8 +35,8 @@ /* * curve.c++ * - * $Date: 2001/08/13 16:52:18 $ $Revision: 1.2 $ - * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/internals/curve.cc,v 1.2 2001/08/13 16:52:18 brianp Exp $ + * $Date: 2004/05/12 15:29:36 $ $Revision: 1.3 $ + * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/internals/curve.cc,v 1.3 2004/05/12 15:29:36 brianp Exp $ */ #include "glimports.h" @@ -67,7 +67,6 @@ Curve::Curve( Quilt_ptr geo, REAL pta, REAL ptb, Curve *c ) Quiltspec_ptr qs = geo->qspec; ps += qs->offset; ps += qs->index * qs->order * qs->stride; - REAL *pend = ps + qs->order * qs->stride; if( needsSampling ) mapdesc->xformSampling( ps, qs->order, qs->stride, spts, stride ); |