summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-04-25 10:12:03 -0700
committerMatt Turner <[email protected]>2017-04-25 15:28:33 -0700
commit71d11f39986fdfffbd1f6f27be4e8b3ea420c02f (patch)
tree4c10de5433d73c0313174316e621d869107f1a7f /src/compiler/glsl
parent7f77554b5b224217ec1b3ebbf0fab0913c42e269 (diff)
glsl: Initialize current_var
CID: 1324644 (Uninitialized pointer field)
Diffstat (limited to 'src/compiler/glsl')
-rw-r--r--src/compiler/glsl/link_uniforms.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/link_uniforms.cpp b/src/compiler/glsl/link_uniforms.cpp
index b462cb9d59e..f1e0885fbd3 100644
--- 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 */
}