projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fed8564
)
mesa: silence 'variable may be used uninitialized' warning in teximage.c
author
Brian Paul
<brianp@vmware.com>
Tue, 3 Oct 2017 19:54:54 +0000
(13:54 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 3 Oct 2017 20:32:59 +0000
(14:32 -0600)
Found with MinGW optimized build.
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 0a3025a2e6bc6f1dbe08d210a9cda2806608a182..bb22b9a5df47454bcad69bb9232d8533432219e5 100644
(file)
--- 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);