]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coverity 22682
authorhristov <Peter.Hristov@cern.ch>
Wed, 30 Apr 2014 09:52:48 +0000 (11:52 +0200)
committerhristov <Peter.Hristov@cern.ch>
Wed, 30 Apr 2014 11:34:50 +0000 (13:34 +0200)
TOF/AliTOFDecoder.cxx

index 3736fb0b8513bbfd83a133c59750959f7e3544fb..5993d01c7effc8792c12cb570e064b37fa6d1eae 100644 (file)
@@ -220,9 +220,10 @@ AliTOFDecoder::Decode(const UInt_t *rawData, Int_t nWords, const AliRawDataHeade
   currentMiniEventID = cdhV3 ? cdhV3->GetMiniEventID() : (Short_t)(-1);
   Short_t  currentEventID1 = cdh ? cdh->GetEventID1() : (Short_t)(-1);
   currentEventID1 = cdhV3 ? cdhV3->GetEventID1() : (Short_t)(-1);
-  AliDebug(1, Form("EvID1 = %d, EvID2 = %d, currentMiniEventID = %d", currentEventID1, cdh->GetEventID2(), currentMiniEventID));
   if (!cdh && !cdhV3)
     AliWarning("CDH not valid: deltaBunchID not reliable ");
+  else
+    AliDebug(1, Form("EvID1 = %d, EvID2 = %d, currentMiniEventID = %d", currentEventID1, cdh? cdh->GetEventID2() : cdhV3->GetEventID2(), currentMiniEventID));
 
   /*** V2718 patch ***/
   if (fV2718Patch){