summaryrefslogtreecommitdiff
path: root/progs/tests
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-01-02 21:58:40 -0800
committerVinson Lee <vlee@vmware.com>2010-01-02 21:58:40 -0800
commitc9c6e9a39e3d38cfc05772667c759b82df8f0fff (patch)
treee76228d383ae6de6a3249d1c7a9c475fec88c6e4 /progs/tests
parent32d18924dff424eb2e06454193c6c2024f1b2795 (diff)
progs/tests: Silence uninitialized variable warning.
Diffstat (limited to 'progs/tests')
-rw-r--r--progs/tests/getprocaddress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/getprocaddress.c b/progs/tests/getprocaddress.c
index b905eeaf81..e699baf44b 100644
--- a/progs/tests/getprocaddress.c
+++ b/progs/tests/getprocaddress.c
@@ -1188,7 +1188,7 @@ exercise_buffer_objects(enum Map_Buffer_Usage usage)
GLuint bufferID;
GLint bufferMapped;
static GLubyte data[BUFFER_DATA_SIZE] = {0};
- float *dataPtr;
+ float *dataPtr = NULL;
/* Get the function pointers we need. These are from
* GL_ARB_vertex_buffer_object and are required in all