mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
nv50/ir: Add DeadCodeElim constructor.
Fix defect reported by Coverity Scan. Uninitialized scalar field (UNINIT_CTOR) member_not_init_in_gen_ctor: The compiler-generated constructor for this class does not initialize deadCount. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12697>
This commit is contained in:
parent
5d91cf41f1
commit
9b6c641cb5
1 changed files with 1 additions and 0 deletions
|
|
@ -3911,6 +3911,7 @@ LocalCSE::visit(BasicBlock *bb)
|
|||
class DeadCodeElim : public Pass
|
||||
{
|
||||
public:
|
||||
DeadCodeElim() : deadCount(0) {}
|
||||
bool buryAll(Program *);
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue