mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Fix all these waring by initaielize them where they are declare
libutil/quad.c: In function `gluPartialDisk': libutil/quad.c:451: warning: 'texLow' might be used uninitialized in this function libutil/quad.c:451: warning: 'texHigh' might be used uninitialized in this function libutil/quad.c: In function `gluSphere': libutil/quad.c:720: warning: 'sintemp2' might be used uninitialized in this function libutil/quad.c:720: warning: 'sintemp3' might be used uninitialized in this function libutil/quad.c:720: warning: 'sintemp4' might be used uninitialized in this function libutil/quad.c:721: warning: 'costemp2' might be used uninitialized in this function libutil/quad.c:721: warning: 'costemp3' might be used uninitialized in this function libutil/quad.c:721: warning: 'costemp4' might be used uninitialized in this function svn path=/trunk/; revision=14842
This commit is contained in:
parent
dada212f2a
commit
4a2a65e916
1 changed files with 3 additions and 3 deletions
|
@ -448,7 +448,7 @@ gluPartialDisk(GLUquadric *qobj, GLdouble innerRadius,
|
|||
GLfloat sintemp, costemp;
|
||||
GLfloat deltaRadius;
|
||||
GLfloat radiusLow, radiusHigh;
|
||||
GLfloat texLow, texHigh;
|
||||
GLfloat texLow = 0, texHigh = 0;
|
||||
GLfloat angleOffset;
|
||||
GLint slices2;
|
||||
GLint finish;
|
||||
|
@ -717,8 +717,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=0, sintemp3=0, sintemp4=0;
|
||||
GLfloat costemp1, costemp2=0, costemp3=0, costemp4=0;
|
||||
GLboolean needCache2, needCache3;
|
||||
GLint start, finish;
|
||||
|
||||
|
|
Loading…
Reference in a new issue