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>
class SchedDataCalculatorGM107 : public Pass
{
public:
- SchedDataCalculatorGM107(const TargetGM107 *targ) : targ(targ) {}
+ SchedDataCalculatorGM107(const TargetGM107 *targ) : score(NULL), targ(targ) {}
private:
struct RegScores