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:
Vinson Lee
2020-11-02 18:17:13 -08:00
committed by Marge Bot
parent 904dcfd914
commit e7aa3cf828

View File

@@ -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;