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/interface/glcurveval.cc | |
parent | 2e66f7eef79610675d66624aba97190ecca26299 (diff) |
fix compiler warnings (Jerome Glisse)
Diffstat (limited to 'src/glu/sgi/libnurbs/interface/glcurveval.cc')
-rw-r--r-- | src/glu/sgi/libnurbs/interface/glcurveval.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glu/sgi/libnurbs/interface/glcurveval.cc b/src/glu/sgi/libnurbs/interface/glcurveval.cc index 8c865084209..4713dc46722 100644 --- a/src/glu/sgi/libnurbs/interface/glcurveval.cc +++ b/src/glu/sgi/libnurbs/interface/glcurveval.cc @@ -35,8 +35,8 @@ /* * glcurveval.c++ * - * $Date: 2003/04/30 15:20:37 $ $Revision: 1.5 $ - * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/interface/glcurveval.cc,v 1.5 2003/04/30 15:20:37 brianp Exp $ + * $Date: 2004/05/12 15:29:36 $ $Revision: 1.6 $ + * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/interface/glcurveval.cc,v 1.6 2004/05/12 15:29:36 brianp Exp $ */ /* Polynomial Evaluator Interface */ @@ -208,8 +208,8 @@ OpenGLCurveEvaluator::map1f( { if(output_triangles) { - int dimension; - int which; + int dimension = 0; + int which = 0; switch(type){ case GL_MAP1_VERTEX_3: which = 0; |