diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 7f2d72aa4bd..5fee9a60bc3 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -2051,7 +2051,7 @@ _mesa_GetUnsignedBytevEXT(GLenum pname, GLubyte *data) const struct value_desc *d; union value v; int shift; - void *p; + void *p = NULL; GLsizei size; const char *func = "glGetUnsignedBytevEXT";