mesa: silence MinGW 'may be unused uninitialized' warning in get.c

The warning happens on line 2114 for the memcpy(data, p, size) call.
I'm not sure why that generates the warning but not the earlier use
of p in the code.

Reviewed-by: Neha Bhende <bhenden@vmware.com>
This commit is contained in:
Brian Paul 2018-01-25 14:37:34 -07:00
parent 8096b558a7
commit acaec6cdd9
1 changed files with 1 additions and 1 deletions

View File

@ -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";