coverity fixes (removed dead code)
authormkrzewic <mkrzewic@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Jul 2013 10:12:29 +0000 (10:12 +0000)
committermkrzewic <mkrzewic@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Jul 2013 10:12:29 +0000 (10:12 +0000)
PWG/FLOW/Tasks/AliAnalysisTaskFlowStrange.cxx
PWGPP/AliAnalysisTaskFilteredTree.cxx

index 0bcd717..6fa1b95 100644 (file)
@@ -1986,7 +1986,6 @@ void AliAnalysisTaskFlowStrange::SaveVZEROQA() {
   if(!event) return;\r
   AliVVZERO *vzero = event->GetVZEROData();\r
   AliAODTracklets *tracklets = event->GetTracklets();\r
-  if(!event) return;\r
   if(!vzero) return;\r
   if(!tracklets) return;\r
   Double_t mult, eqmult;\r
index 89fe812..69ac7d1 100644 (file)
@@ -1588,7 +1588,7 @@ void AliAnalysisTaskFilteredTree::ProcessMCEff(AliESDEvent *const esdEvent, AliM
   // check event cuts\r
   if(isEventOK && isEventTriggered)\r
   {\r
-    if(!stack) return;\r
+    //if(!stack) return;\r
 \r
     //\r
     // MC info\r