mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-09 20:40:28 +01:00
r600/sfn: Initialize TestInstrFromString member m_instr_factory.
Fix defect reported by Coverity Scan.
Uninitialized pointer field (UNINIT_CTOR)
uninit_member: Non-static class member m_instr_factory is not
initialized in this constructor nor in any functions that it calls.
Fixes: e840645bb7 ("r600/sfn:explicitly initialize the memory pool")
Suggested-by: Gert Wollny <gert.wollny@collabora.com>
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/19098>
This commit is contained in:
parent
53ab57e888
commit
861ec4988d
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ protected:
|
|||
void SetUp() override;
|
||||
void TearDown() override;
|
||||
|
||||
InstrFactory *m_instr_factory;
|
||||
InstrFactory *m_instr_factory{nullptr};
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue