glsl: fix uninitialised variable from constructor
Coverity pointed out this uninitialised class member. Note: This is a candidate for stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -173,6 +173,7 @@ public:
|
||||
has_recursion_visitor()
|
||||
: current(NULL)
|
||||
{
|
||||
progress = false;
|
||||
this->mem_ctx = ralloc_context(NULL);
|
||||
this->function_hash = hash_table_ctor(0, hash_table_pointer_hash,
|
||||
hash_table_pointer_compare);
|
||||
|
||||
Reference in New Issue
Block a user