mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
glsl: Initialize ir_variable member field data.is_xfb.
Fix defect reported by Coverity Scan. Uninitialized scalar field (UNINIT_CTOR) uninit_member: Non-static class member field data.is_xfb is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7414>
This commit is contained in:
parent
904dcfd914
commit
e7aa3cf828
1 changed files with 1 additions and 0 deletions
|
|
@ -2025,6 +2025,7 @@ ir_variable::ir_variable(const struct glsl_type *type, const char *name,
|
|||
this->data.has_initializer = false;
|
||||
this->data.is_implicit_initializer = false;
|
||||
this->data.is_unmatched_generic_inout = false;
|
||||
this->data.is_xfb = false;
|
||||
this->data.is_xfb_only = false;
|
||||
this->data.explicit_xfb_buffer = false;
|
||||
this->data.explicit_xfb_offset = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue