From 3bb90373c98797cb214a01ea252feec3e95759b5 Mon Sep 17 00:00:00 2001 From: Mircho Rodozov Date: Wed, 16 Sep 2020 00:59:44 +0200 Subject: [PATCH] Initialize vars to nullptr in HTXSRivetProducer, fix #31474 --- GeneratorInterface/RivetInterface/plugins/HTXSRivetProducer.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GeneratorInterface/RivetInterface/plugins/HTXSRivetProducer.cc b/GeneratorInterface/RivetInterface/plugins/HTXSRivetProducer.cc index 90ebee87772c3..564a710855c8c 100644 --- a/GeneratorInterface/RivetInterface/plugins/HTXSRivetProducer.cc +++ b/GeneratorInterface/RivetInterface/plugins/HTXSRivetProducer.cc @@ -37,7 +37,8 @@ class HTXSRivetProducer : public edm::one::EDProducer("ProductionMode"); m_HiggsProdMode = HTXS::UNKNOWN; - + _HTXS = nullptr; + _analysisHandler = nullptr; produces("HiggsClassification").setBranchAlias("HiggsClassification"); }