glsl linker: Initialize member variable interface_namespace.
Fixes "Uninitialized pointer field" defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
7142da6dd1
commit
f8df73f41c
|
@ -72,7 +72,8 @@ public:
|
|||
hash_table *interface_namespace;
|
||||
|
||||
flatten_named_interface_blocks_declarations(void *mem_ctx)
|
||||
: mem_ctx(mem_ctx)
|
||||
: mem_ctx(mem_ctx),
|
||||
interface_namespace(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue