glu: silence warnings
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 17 Jun 2008 15:01:32 +0000 (09:01 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 17 Jun 2008 16:08:22 +0000 (10:08 -0600)
src/glu/sgi/libutil/quad.c

index e604539c82fa82d38b8e9f7a26574109ab50cbc4..1ae7442c80a2bd32a8389ba837ebe3ca7f7a0d0a 100644 (file)
@@ -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 = 0.0, sintemp4 = 0.0;
-    GLfloat costemp1, costemp2 = 0.0, costemp3 = 0.0, costemp4 = 0.0;
+    GLfloat sintemp1 = 0.0, sintemp2 = 0.0, sintemp3 = 0.0, sintemp4 = 0.0;
+    GLfloat costemp1 = 0.0, costemp2 = 0.0, costemp3 = 0.0, costemp4 = 0.0;
     GLboolean needCache2, needCache3;
     GLint start, finish;