Fixing coverity (finally?)
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Sep 2011 07:30:44 +0000 (07:30 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Sep 2011 07:30:44 +0000 (07:30 +0000)
TPC/AliTPCcalibGainMult.cxx

index e3404fc..692c00b 100644 (file)
@@ -667,7 +667,7 @@ void AliTPCcalibGainMult::DumpTrack(AliESDtrack * track, AliESDfriendTrack *ftra
     kp5=(*fBBParam)[4];
   }
   //
-  AliTPCROC *roc = AliTPCROC::Instance();
+  static const AliTPCROC *roc = AliTPCROC::Instance();
   static const TDatabasePDG *pdg = TDatabasePDG::Instance();
 
   Int_t nclITS   = track->GetNcls(0);