mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
silence an uninitialized var warning
This commit is contained in:
parent
5c749d9e3c
commit
cff1cfd90d
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: t_imm_dlist.c,v 1.21 2001/06/28 17:34:14 keithw Exp $ */
|
||||
/* $Id: t_imm_dlist.c,v 1.22 2001/07/13 16:39:19 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
|
@ -96,7 +96,7 @@ static void build_normal_lengths( struct immediate *IM )
|
|||
static void fixup_normal_lengths( struct immediate *IM )
|
||||
{
|
||||
GLuint i;
|
||||
GLfloat len;
|
||||
GLfloat len = 1.0; /* just to silence warnings */
|
||||
GLfloat (*data)[3] = IM->Normal;
|
||||
GLfloat *dest = IM->NormalLengthPtr;
|
||||
GLuint *flags = IM->Flag;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue