mesa: silence 'variable may be used uninitialized' warning in teximage.c

Found with MinGW optimized build.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
Brian Paul 2017-10-03 13:54:54 -06:00
parent fed856478c
commit 42eb3052c3

View file

@ -4885,7 +4885,7 @@ compressed_tex_sub_image(unsigned dim, GLenum target, GLuint texture,
const GLvoid *data, bool dsa, bool no_error,
const char *caller)
{
struct gl_texture_object *texObj;
struct gl_texture_object *texObj = NULL;
struct gl_texture_image *texImage;
GET_CURRENT_CONTEXT(ctx);