diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-10-28 13:09:23 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-10-28 13:09:23 +0000 |
commit | 83e4356e78d793932ae63969cf07ec4f57b2ca9f (patch) | |
tree | 033372fe98e9644eb84dedd741186300bbb9a47e /src/libutil | |
parent | 6faffa256d6e45e6ffd5230312e4b022b1f2bed1 (diff) | |
download | glu-83e4356e78d793932ae63969cf07ec4f57b2ca9f.tar.gz |
silence a bunch of compiler warnings
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/quad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libutil/quad.c b/src/libutil/quad.c index 8d9bcdd..e604539 100644 --- a/src/libutil/quad.c +++ b/src/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; |