mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
nv50/ir: Initialize BindArgumentsPass member sub in constructor.
Fix defect reported by Coverity. Uninitialized pointer field (UNINIT_CTOR) uninit_member: Non-static class member sub is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Francisco Jerez <currojerez@riseup.net> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7229>
This commit is contained in:
parent
3a5bdd6cf7
commit
4654650d6b
1 changed files with 1 additions and 1 deletions
|
|
@ -1692,7 +1692,7 @@ private:
|
|||
|
||||
class BindArgumentsPass : public Pass {
|
||||
public:
|
||||
BindArgumentsPass(Converter &conv) : conv(conv) { }
|
||||
BindArgumentsPass(Converter &conv) : conv(conv), sub(NULL) { }
|
||||
|
||||
private:
|
||||
Converter &conv;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue