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

index 24043f9ac12a1946bcfac002cc8b3972c45119a0..3736fb0b8513bbfd83a133c59750959f7e3544fb 100644 (file)
@@ -948,9 +948,10 @@ void AliTOFDecoder::PrintStack(const UInt_t *rawData, Int_t nWords, const AliRaw
  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));
 
  AliInfo("Printing raw data stack for current equipment\n");
  AliInfo("  wordN  -  Hex Word ");