coverity fix (forward NULL)
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 14 Mar 2012 09:32:15 +0000 (09:32 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 14 Mar 2012 09:32:15 +0000 (09:32 +0000)
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();