summaryrefslogtreecommitdiff
path: root/src/libutil
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-10-28 13:09:23 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-10-28 13:09:23 +0000
commit83e4356e78d793932ae63969cf07ec4f57b2ca9f (patch)
tree033372fe98e9644eb84dedd741186300bbb9a47e /src/libutil
parent6faffa256d6e45e6ffd5230312e4b022b1f2bed1 (diff)
downloadglu-83e4356e78d793932ae63969cf07ec4f57b2ca9f.tar.gz
silence a bunch of compiler warnings
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/quad.c6
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;