From 24b93fdb022832e41f5d0106945207ecfa300cd1 Mon Sep 17 00:00:00 2001 From: jlagram Date: Mon, 5 Jun 2023 11:17:54 +0200 Subject: [PATCH] Fix a warning --- .../SiStripHitEfficiency/plugins/SiStripHitEffFromCalibTree.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CalibTracker/SiStripHitEfficiency/plugins/SiStripHitEffFromCalibTree.cc b/CalibTracker/SiStripHitEfficiency/plugins/SiStripHitEffFromCalibTree.cc index b3edbe0b6c249..e6df2a4f834b1 100644 --- a/CalibTracker/SiStripHitEfficiency/plugins/SiStripHitEffFromCalibTree.cc +++ b/CalibTracker/SiStripHitEfficiency/plugins/SiStripHitEffFromCalibTree.cc @@ -1035,7 +1035,7 @@ void SiStripHitEffFromCalibTree::makeHotColdMaps() { void SiStripHitEffFromCalibTree::makeTKMap(bool autoTagging = false) { LOGPRINT << "Entering TKMap generation!\n"; - TTree* tree; + TTree* tree = nullptr; unsigned int t_DetId, t_found, t_total; unsigned char t_layer; bool t_isTaggedIneff;