From 7e0694d0b1c81440a9e6d8bd0dc697921f7d5d03 Mon Sep 17 00:00:00 2001
From: Scott Snyder <scott.snyder@cern.ch>
Date: Wed, 18 May 2016 21:33:55 +0200
Subject: [PATCH] 'Fix coverity warnings 108847, 108851 (uninitialized
 members).' (CaloCellCorrection-00-00-39)

	* Tagging CaloCellCorrection-00-00-39.
	* Fix coverity warnings 108847, 108851 (uninitialized members).


Former-commit-id: 0fc15d65e5072b5a4293800f95d30f3b5661dd53
---
 .../CaloCellCorrection/src/CaloCellNeighborsAverageCorr.cxx  | 5 ++++-
 Calorimeter/CaloCellCorrection/src/CaloCellPedestalCorr.cxx  | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Calorimeter/CaloCellCorrection/src/CaloCellNeighborsAverageCorr.cxx b/Calorimeter/CaloCellCorrection/src/CaloCellNeighborsAverageCorr.cxx
index a70c8ca4c52c..11faf822b5aa 100755
--- a/Calorimeter/CaloCellCorrection/src/CaloCellNeighborsAverageCorr.cxx
+++ b/Calorimeter/CaloCellCorrection/src/CaloCellNeighborsAverageCorr.cxx
@@ -34,7 +34,10 @@ CaloCellNeighborsAverageCorr::CaloCellNeighborsAverageCorr(
 			     const std::string& type, 
 			     const std::string& name, 
 			     const IInterface* parent)
-  :AthAlgTool(type, name, parent)
+  :AthAlgTool(type, name, parent),
+   m_calo_dd_man(nullptr),
+   m_calo_id(nullptr),
+   m_tile_id(nullptr)
 {
   declareInterface<ICaloCellMakerTool>(this);
   declareProperty("testMode",m_testMode=false,"test mode");
diff --git a/Calorimeter/CaloCellCorrection/src/CaloCellPedestalCorr.cxx b/Calorimeter/CaloCellCorrection/src/CaloCellPedestalCorr.cxx
index bce8df05c8a1..c9553ac8a189 100755
--- a/Calorimeter/CaloCellCorrection/src/CaloCellPedestalCorr.cxx
+++ b/Calorimeter/CaloCellCorrection/src/CaloCellPedestalCorr.cxx
@@ -37,7 +37,10 @@ CaloCellPedestalCorr::CaloCellPedestalCorr(
 			     const std::string& name, 
 			     const IInterface* parent)
   : CaloCellCorrection(type, name, parent),
-   m_caloCoolIdTool("CaloCoolIdTool"),m_caloLumiBCIDTool(""),m_isMC(false)
+    m_caloCoolIdTool("CaloCoolIdTool"),
+    m_cellId(nullptr),
+    m_caloLumiBCIDTool(""),
+    m_isMC(false)
 {
  declareInterface<CaloCellCorrection>(this);
  declareProperty("Luminosity",m_lumi0=0,"Luminosity in 10**33 units");
-- 
GitLab