mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-01 14:13:52 +08:00
r600/sfn: Initialize GPRValue member m_pin_to_channel.
Fix defects reported by Coverity Scan. Uninitialized scalar field (UNINIT_CTOR) uninit_member: Non-static class member m_pin_to_channel is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6830>
This commit is contained in:
parent
974981c4e6
commit
4bd0df0e4a
@ -38,7 +38,8 @@ GPRValue::GPRValue(uint32_t sel, uint32_t chan, int base_offset):
|
||||
Value(Value::gpr, chan),
|
||||
m_sel(sel),
|
||||
m_base_offset(base_offset),
|
||||
m_input(false)
|
||||
m_input(false),
|
||||
m_pin_to_channel(false)
|
||||
{
|
||||
}
|
||||
|
||||
@ -46,7 +47,8 @@ GPRValue::GPRValue(uint32_t sel, uint32_t chan):
|
||||
Value(Value::gpr, chan),
|
||||
m_sel(sel),
|
||||
m_base_offset(0),
|
||||
m_input(false)
|
||||
m_input(false),
|
||||
m_pin_to_channel(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user