Skip to content

Commit

Permalink
Merge pull request #31476 from mrodozov/patch-10
Browse files Browse the repository at this point in the history
Initialize vars to nullptr in HTXSRivetProducer, fix #31474
  • Loading branch information
cmsbuild authored Sep 16, 2020
2 parents e0739f9 + 3bb9037 commit 46e746d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ class HTXSRivetProducer : public edm::one::EDProducer<edm::one::WatchRuns, edm::
usesResource("Rivet");
_prodMode = cfg.getParameter<string>("ProductionMode");
m_HiggsProdMode = HTXS::UNKNOWN;

_HTXS = nullptr;
_analysisHandler = nullptr;
produces<HTXS::HiggsClassification>("HiggsClassification").setBranchAlias("HiggsClassification");
}

Expand Down

0 comments on commit 46e746d

Please sign in to comment.