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/backend.cc | |
parent | 2e66f7eef79610675d66624aba97190ecca26299 (diff) |
fix compiler warnings (Jerome Glisse)
Diffstat (limited to 'src/glu/sgi/libnurbs/internals/backend.cc')
-rw-r--r-- | src/glu/sgi/libnurbs/internals/backend.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/glu/sgi/libnurbs/internals/backend.cc b/src/glu/sgi/libnurbs/internals/backend.cc index 6367bf45f94..97775a97684 100644 --- a/src/glu/sgi/libnurbs/internals/backend.cc +++ b/src/glu/sgi/libnurbs/internals/backend.cc @@ -35,8 +35,8 @@ /* * backend.c++ * - * $Date: 2001/03/17 00:25:40 $ $Revision: 1.1 $ - * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/internals/backend.cc,v 1.1 2001/03/17 00:25:40 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/backend.cc,v 1.2 2004/05/12 15:29:36 brianp Exp $ */ /* Bezier surface backend @@ -326,7 +326,9 @@ void Backend::tmeshvert( TrimVertex *t ) { +#ifndef NOWIREFRAME const long nuid = t->nuid; +#endif const REAL u = t->param[0]; const REAL v = t->param[1]; @@ -365,11 +367,9 @@ Backend::tmeshvert( TrimVertex *t ) void Backend::tmeshvert( REAL u, REAL v ) { - - const long nuid = 0; - - #ifndef NOWIREFRAME + const long nuid = 0; + npts++; if( wireframetris ) { if( npts >= 3 ) { |