One more coverity \"bug\" fix
authorcnattras <cnattras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Mar 2011 16:32:55 +0000 (16:32 +0000)
committercnattras <cnattras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Mar 2011 16:32:55 +0000 (16:32 +0000)
PWG4/totEt/AliAnalysisEtReconstructed.cxx

index a8b621f..f089130 100644 (file)
@@ -461,7 +461,7 @@ AliAnalysisEtReconstructed::CalcTrackClusterDistance(const Float_t clsPos[3],
       continue;
     }
     emctrack->GetXYZ(trkPos);
-    if (emctrack) delete emctrack;
+    delete emctrack;
 
     distX = clsPos[0]-trkPos[0];
     distY = clsPos[1]-trkPos[1];