summaryrefslogtreecommitdiffstats
path: root/progs/samples/select.c
diff options
context:
space:
mode:
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];