mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
nvir/gm107: Initialize SchedDataCalculatorGM107 member score.
Fix defect reported by Coverity Scan. Uninitialized pointer field (UNINIT_CTOR) uninit_member: Non-static class member score is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7324>
This commit is contained in:
parent
4b65c09d86
commit
5adba503dd
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ namespace nv50_ir {
|
|||
class SchedDataCalculatorGM107 : public Pass
|
||||
{
|
||||
public:
|
||||
SchedDataCalculatorGM107(const TargetGM107 *targ) : targ(targ) {}
|
||||
SchedDataCalculatorGM107(const TargetGM107 *targ) : score(NULL), targ(targ) {}
|
||||
|
||||
private:
|
||||
struct RegScores
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue