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:
Vinson Lee 2013-05-23 23:48:28 -07:00
parent 7142da6dd1
commit f8df73f41c
1 changed files with 2 additions and 1 deletions

View File

@ -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)
{
}