From 1e69f77f99f7f9954241315f7c10fb1fd0b28f81 Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Thu, 1 Dec 2022 10:43:04 +0100 Subject: [PATCH] [LTO] Add default initialization to fix LTO build warnings --- .../interface/PixelCPEGenericBase.h | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/RecoLocalTracker/SiPixelRecHits/interface/PixelCPEGenericBase.h b/RecoLocalTracker/SiPixelRecHits/interface/PixelCPEGenericBase.h index 5ac8255d15c7c..1c7b9646d037f 100644 --- a/RecoLocalTracker/SiPixelRecHits/interface/PixelCPEGenericBase.h +++ b/RecoLocalTracker/SiPixelRecHits/interface/PixelCPEGenericBase.h @@ -13,23 +13,23 @@ class PixelCPEGenericBase : public PixelCPEBase { // individual pixel signals. It should be applied to all pixels in the // cluster [signal_i = fminf(signal_i, pixmax)] before the column and row // sums are made. Morris - int pixmx; + int pixmx{}; // These are errors predicted by PIXELAV - float sigmay; // CPE Generic y-error for multi-pixel cluster - float sigmax; // CPE Generic x-error for multi-pixel cluster - float sy1; // CPE Generic y-error for single single-pixel - float sy2; // CPE Generic y-error for single double-pixel cluster - float sx1; // CPE Generic x-error for single single-pixel cluster - float sx2; // CPE Generic x-error for single double-pixel cluster + float sigmay{}; // CPE Generic y-error for multi-pixel cluster + float sigmax{}; // CPE Generic x-error for multi-pixel cluster + float sy1{}; // CPE Generic y-error for single single-pixel + float sy2{}; // CPE Generic y-error for single double-pixel cluster + float sx1{}; // CPE Generic x-error for single single-pixel cluster + float sx2{}; // CPE Generic x-error for single double-pixel cluster // These are irradiation bias corrections - float deltay; // CPE Generic y-bias for multi-pixel cluster - float deltax; // CPE Generic x-bias for multi-pixel cluster - float dy1; // CPE Generic y-bias for single single-pixel cluster - float dy2; // CPE Generic y-bias for single double-pixel cluster - float dx1; // CPE Generic x-bias for single single-pixel cluster - float dx2; // CPE Generic x-bias for single double-pixel cluster + float deltay{}; // CPE Generic y-bias for multi-pixel cluster + float deltax{}; // CPE Generic x-bias for multi-pixel cluster + float dy1{}; // CPE Generic y-bias for single single-pixel cluster + float dy2{}; // CPE Generic y-bias for single double-pixel cluster + float dx1{}; // CPE Generic x-bias for single single-pixel cluster + float dx2{}; // CPE Generic x-bias for single double-pixel cluster }; PixelCPEGenericBase(edm::ParameterSet const& conf,