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 da849dd..ee12d84 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();