coverity fix (forward NULL)
[u/mrichter/AliRoot.git] / PWGJE / AliAnalysisTaskJetCore.cxx
index da849dd5cdae00a3e15c2cad6bb2b4abcf4eb1c0..ee12d84191e2f8ca48d4f3b8ee000da85eaf2358 100644 (file)
@@ -438,7 +438,8 @@ void AliAnalysisTaskJetCore::UserExec(Option_t *)
    if(!primVtx){
      if(fDebug) Printf("%s:%d No primVtx",(char*)__FILE__,__LINE__);
      fHistEvtSelection->Fill(3);
-      PostData(1, fOutputList);
+     PostData(1, fOutputList);
+     return;
    }
 
    Int_t nTracksPrim = primVtx->GetNContributors();