mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -72,7 +72,8 @@ public:
|
||||||
hash_table *interface_namespace;
|
hash_table *interface_namespace;
|
||||||
|
|
||||||
flatten_named_interface_blocks_declarations(void *mem_ctx)
|
flatten_named_interface_blocks_declarations(void *mem_ctx)
|
||||||
: mem_ctx(mem_ctx)
|
: mem_ctx(mem_ctx),
|
||||||
|
interface_namespace(NULL)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue