From ca33e211659b36449a5b91e47328ab5554a4c665 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 28 Oct 2005 13:09:23 +0000 Subject: silence a bunch of compiler warnings --- src/glu/sgi/libutil/quad.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/glu/sgi/libutil') diff --git a/src/glu/sgi/libutil/quad.c b/src/glu/sgi/libutil/quad.c index 8d9bcdda643..e604539c82f 100644 --- a/src/glu/sgi/libutil/quad.c +++ b/src/glu/sgi/libutil/quad.c @@ -444,7 +444,7 @@ gluPartialDisk(GLUquadric *qobj, GLdouble innerRadius, GLfloat sintemp, costemp; GLfloat deltaRadius; GLfloat radiusLow, radiusHigh; - GLfloat texLow, texHigh; + GLfloat texLow = 0.0, texHigh = 0.0; GLfloat angleOffset; GLint slices2; GLint finish; @@ -713,8 +713,8 @@ gluSphere(GLUquadric *qobj, GLdouble radius, GLint slices, GLint stacks) GLfloat cosCache3b[CACHE_SIZE]; GLfloat angle; GLfloat zLow, zHigh; - GLfloat sintemp1, sintemp2, sintemp3, sintemp4; - GLfloat costemp1, costemp2, costemp3, costemp4; + GLfloat sintemp1, sintemp2, sintemp3 = 0.0, sintemp4 = 0.0; + GLfloat costemp1, costemp2 = 0.0, costemp3 = 0.0, costemp4 = 0.0; GLboolean needCache2, needCache3; GLint start, finish; -- cgit v1.2.3