Mesa (mesa_7_7_branch): progs/tests: Silence uninitialized variable warning .
Vinson Lee
vlee at kemper.freedesktop.org
Sun Jan 3 05:59:13 UTC 2010
Module: Mesa
Branch: mesa_7_7_branch
Commit: c9c6e9a39e3d38cfc05772667c759b82df8f0fff
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9c6e9a39e3d38cfc05772667c759b82df8f0fff
Author: Vinson Lee <vlee at vmware.com>
Date: Sat Jan 2 21:58:40 2010 -0800
progs/tests: Silence uninitialized variable warning.
---
progs/tests/getprocaddress.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/progs/tests/getprocaddress.c b/progs/tests/getprocaddress.c
index b905eea..e699baf 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
More information about the mesa-commit
mailing list