mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-19 04:30:25 +01:00
glsl: Initialize member variable in ir_copy_propagation_elements_visitor.
Fix uninitialized scalar field defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
7bf3fe851c
commit
2d75a1e25e
1 changed files with 1 additions and 0 deletions
|
|
@ -93,6 +93,7 @@ public:
|
|||
ir_copy_propagation_elements_visitor()
|
||||
{
|
||||
this->progress = false;
|
||||
this->killed_all = false;
|
||||
this->mem_ctx = ralloc_context(NULL);
|
||||
this->shader_mem_ctx = NULL;
|
||||
this->acp = new(mem_ctx) exec_list;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue