Fix for Coverity defect 22014
authorhristov <Peter.Hristov@cern.ch>
Tue, 17 Dec 2013 11:17:11 +0000 (12:17 +0100)
committerhristov <Peter.Hristov@cern.ch>
Tue, 17 Dec 2013 21:04:49 +0000 (22:04 +0100)
PWGPP/TOF/AliAnalysisTaskTOFqaID.cxx
PWGPP/TOF/AliAnalysisTaskTOFqaID.h

index 96555ed..0f09cb4 100644 (file)
@@ -529,7 +529,7 @@ void AliAnalysisTaskTOFqaID::Terminate(Option_t *)
 }
 
 //---------------------------------------------------------------
-Int_t AliAnalysisTaskTOFqaID::GetStripIndex(const Int_t * const in)
+Int_t AliAnalysisTaskTOFqaID::GetStripIndex(const Int_t * in)
 {
   /* return tof strip index between 0 and 91 */
   
index 45b5918..766519c 100644 (file)
@@ -24,7 +24,7 @@ class AliAnalysisTaskTOFqaID : public AliAnalysisTaskSE {
   virtual void   UserExec(Option_t *option);
   virtual void   Terminate(Option_t *);
     
-  Int_t   GetStripIndex(const Int_t * const in);
+  Int_t   GetStripIndex(const Int_t * in);
   void    SetTrackFilter(AliAnalysisFilter *filter) {fTrackFilter = filter;};
   void    EnableAdvancedCheck(Bool_t enable){fEnableAdvancedCheck=enable;};
   void    SetExpTimeHistoRange(Float_t min, Float_t max){fExpTimeRangeMin=min; fExpTimeRangeMax=max;return;};