summaryrefslogtreecommitdiffstats
path: root/progs/samples/select.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-02-12 16:07:47 +0000
committerBrian Paul <[email protected]>2002-02-12 16:07:47 +0000
commit38d042a4ad76ccc30b50571135bbf0fdb912d656 (patch)
tree8d41689e3dc45fee156c87c762dec6a17d9b62df /progs/samples/select.c
parent69d4ae7bb3bf4a535673cb9ba99d181c12a52e43 (diff)
silence compiler warnings
Diffstat (limited to 'progs/samples/select.c')
-rw-r--r--progs/samples/select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/samples/select.c b/progs/samples/select.c
index 5a73a457ab7..2c8f333bfa9 100644
--- a/progs/samples/select.c
+++ b/progs/samples/select.c
@@ -174,7 +174,7 @@ static void DeleteTri(GLint h)
static void GrowTri(GLint h)
{
float v[2];
- float *oldV;
+ float *oldV = NULL;
GLint i;
v[0] = objects[h].v1[0] + objects[h].v2[0] + objects[h].v3[0];