diff options
author | Brian Paul <[email protected]> | 2017-10-03 13:54:54 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-10-03 14:32:59 -0600 |
commit | 42eb3052c3537fa9b8a8cbf683c38b30c6e90f1f (patch) | |
tree | 7fbdf850f3c4596de5bb2fdbbe992957baee58f4 /src/mesa/main/teximage.c | |
parent | fed856478c0937d3efc74d465f0e455762c6f09c (diff) |
mesa: silence 'variable may be used uninitialized' warning in teximage.c
Found with MinGW optimized build.
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 0a3025a2e6b..bb22b9a5df4 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -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); |