projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f77554
)
glsl: Initialize current_var
author
Matt Turner
<mattst88@gmail.com>
Tue, 25 Apr 2017 17:12:03 +0000
(10:12 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Tue, 25 Apr 2017 22:28:33 +0000
(15:28 -0700)
CID: 1324644 (Uninitialized pointer field)
src/compiler/glsl/link_uniforms.cpp
patch
|
blob
|
history
diff --git
a/src/compiler/glsl/link_uniforms.cpp
b/src/compiler/glsl/link_uniforms.cpp
index
b462cb9
..
f1e0885
100644
(file)
--- a/
src/compiler/glsl/link_uniforms.cpp
+++ b/
src/compiler/glsl/link_uniforms.cpp
@@
-258,7
+258,7
@@
public:
num_shader_samplers(0), num_shader_images(0),
num_shader_uniform_components(0), num_shader_subroutines(0),
is_buffer_block(false), is_shader_storage(false), map(map),
- hidden_map(hidden_map)
+ hidden_map(hidden_map)
, current_var(NULL)
{
/* empty */
}