coverity fixes
authorrbertens <rbertens@cern.ch>
Wed, 14 Jan 2015 14:17:18 +0000 (15:17 +0100)
committerrbertens <rbertens@cern.ch>
Wed, 14 Jan 2015 14:17:36 +0000 (15:17 +0100)
PWG/FLOW/Tasks/AliAnalysisTaskFlowStrangee.cxx

index 641b715..6f0fb30 100644 (file)
@@ -993,7 +993,10 @@ Int_t AliAnalysisTaskFlowStrangee::GetReferenceMultiplicity() { //toberefined
   Int_t ref=0;
   for(Int_t id=0; id!=rawN; ++id) {
     track = dynamic_cast<AliAODTrack*>(tAOD->GetTrack(id));
-    if(!track) AliFatal("Not a standard AOD");
+    if(!track) {
+        AliFatal("Not a standard AOD");
+        continue;
+    }
     if(!track->TestFilterBit(fRFPFilterBit)) continue;
     ++ref;
   }