From 4c2533788980859620927ab98c5cdaa2eb96f8c0 Mon Sep 17 00:00:00 2001 From: kharlov Date: Wed, 21 Dec 2011 11:04:32 +0000 Subject: [PATCH] Coverity fix in copy constructor --- PHOS/AliPHOSDigitizer.cxx | 13 ++++++++----- PHOS/AliPHOSDigitizer.h | 4 ++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/PHOS/AliPHOSDigitizer.cxx b/PHOS/AliPHOSDigitizer.cxx index 3050092ad73..417b0c6531f 100644 --- a/PHOS/AliPHOSDigitizer.cxx +++ b/PHOS/AliPHOSDigitizer.cxx @@ -204,22 +204,25 @@ AliPHOSDigitizer::AliPHOSDigitizer(const AliPHOSDigitizer & d) : fDigitsInRun(d.fDigitsInRun), fInit(d.fInit), fInput(d.fInput), - fInputFileNames(0x0),//? - fEventNames(0x0),//? + fInputFileNames(0x0), + fEventNames(0x0), fEmcCrystals(d.fEmcCrystals), fEventFolderName(d.fEventFolderName), fFirstEvent(d.fFirstEvent), fLastEvent(d.fLastEvent), - fcdb (0x0), + fcdb (new AliPHOSCalibData(-1)), fEventCounter(0), - fPulse(0), + fPulse(new AliPHOSPulseGenerator), fADCValuesLG(0), fADCValuesHG(0) { // copyy ctor SetName(d.GetName()) ; SetTitle(d.GetTitle()) ; - fcdb = new AliPHOSCalibData(-1); + for (Int_t iInput=0; iInput