From: hristov Date: Fri, 2 Nov 2007 15:41:49 +0000 (+0000) Subject: Provide return value if the function is not void X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=52be7fb01baa91f78037f6c4260fb240a340a193 Provide return value if the function is not void --- diff --git a/HLT/PHOS/AliHLTPHOSBaselineAnalyzerComponent.cxx b/HLT/PHOS/AliHLTPHOSBaselineAnalyzerComponent.cxx index 890d968f1a7..fc4db184061 100644 --- a/HLT/PHOS/AliHLTPHOSBaselineAnalyzerComponent.cxx +++ b/HLT/PHOS/AliHLTPHOSBaselineAnalyzerComponent.cxx @@ -70,6 +70,7 @@ AliHLTPHOSBaselineAnalyzerComponent::Deinit() delete fFilename; fFilename = 0; } + return 0; } const char* diff --git a/HLT/PHOS/AliHLTPHOSDigitMakerComponent.cxx b/HLT/PHOS/AliHLTPHOSDigitMakerComponent.cxx index 73e15363a7e..835c1bdfd60 100644 --- a/HLT/PHOS/AliHLTPHOSDigitMakerComponent.cxx +++ b/HLT/PHOS/AliHLTPHOSDigitMakerComponent.cxx @@ -36,6 +36,7 @@ AliHLTPHOSDigitMakerComponent::Deinit() delete fDigitMakerPtr; fDigitMakerPtr = 0; } + return 0; } const char* diff --git a/HLT/PHOS/AliHLTPHOSRcuDigitMakerComponent.cxx b/HLT/PHOS/AliHLTPHOSRcuDigitMakerComponent.cxx index 34eb1154c07..4171f2b2f23 100644 --- a/HLT/PHOS/AliHLTPHOSRcuDigitMakerComponent.cxx +++ b/HLT/PHOS/AliHLTPHOSRcuDigitMakerComponent.cxx @@ -36,6 +36,7 @@ AliHLTPHOSRcuDigitMakerComponent::Deinit() delete fDigitMakerPtr; fDigitMakerPtr = 0; } + return 0; } const char* diff --git a/HLT/TRD/AliHLTTRDCalibrationComponent.cxx b/HLT/TRD/AliHLTTRDCalibrationComponent.cxx index f20f6fd9a58..065fd9bc44f 100644 --- a/HLT/TRD/AliHLTTRDCalibrationComponent.cxx +++ b/HLT/TRD/AliHLTTRDCalibrationComponent.cxx @@ -153,7 +153,7 @@ Int_t AliHLTTRDCalibrationComponent::InitCalibration() fCDB->SetDefaultStorage(fStrorageDBpath.c_str()); Logging(kHLTLogDebug, "HLT::TRDCalibration::InitCalibration", "CDB instance", "fCDB 0x%x", fCDB); } - + return 0; } Int_t AliHLTTRDCalibrationComponent::DeinitCalibration() @@ -165,6 +165,7 @@ Int_t AliHLTTRDCalibrationComponent::DeinitCalibration() fCDB->Destroy(); fCDB = 0; } + return 0; } Int_t AliHLTTRDCalibrationComponent::ProcessCalibration( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData) diff --git a/T0/AliT0Align.cxx b/T0/AliT0Align.cxx index 4137fa71044..ac82c400a66 100644 --- a/T0/AliT0Align.cxx +++ b/T0/AliT0Align.cxx @@ -178,7 +178,7 @@ Double_t AliT0Align::ComputePosition() { // Float_t fZPos, shift; // fZPos = surveyedPoints[3] - shift; - + return 99999; } //_______________________________________________________________________ void AliT0Align::CreateAlignObj(){ diff --git a/TOF/AliTOFcalib.cxx b/TOF/AliTOFcalib.cxx index 9f2148d808d..567803e2d44 100644 --- a/TOF/AliTOFcalib.cxx +++ b/TOF/AliTOFcalib.cxx @@ -15,6 +15,9 @@ /* $Log$ +Revision 1.20 2007/10/26 15:13:50 zampolli +Using a TChain instead of a TTree + Revision 1.19 2007/10/23 15:27:38 zampolli Rearrangement of Calibration objects for simulation @@ -363,6 +366,7 @@ Bool_t AliTOFcalib::ReadSimHistoFromCDB(Char_t *sel, Int_t nrun) } TH1F *histo =(TH1F*)entry->GetObject(); fTOFSimToT=histo; + return kTRUE; } //_____________________________________________________________________________ void AliTOFcalib::WriteRecParOnCDB(Char_t *sel, Int_t minrun, Int_t maxrun, AliTOFRecoParam *param){