r600/sfn: Initialize TestInstrFromString member m_instr_factory.
authorVinson Lee <vlee@freedesktop.org>
Sun, 16 Oct 2022 18:36:38 +0000 (11:36 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Oct 2022 05:36:25 +0000 (05:36 +0000)
commit861ec4988d90b402abc30122fe1f97fbbf3afa89
tree772f842ac549ba283543320a0fccbd77df7b31e4
parent53ab57e8882a60cc3e9d7c116095b41d2f12df33
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: e840645bb79 ("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>
src/gallium/drivers/r600/sfn/tests/sfn_instrfromstring_test.cpp