summaryrefslogtreecommitdiff
path: root/progs/samples
diff options
context:
space:
mode:
Diffstat (limited to 'progs/samples')
-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 5a73a457ab..2c8f333bfa 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];