Some more clang warnings corrected
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEV0cuts.cxx
index b35a361..0b2906e 100644 (file)
@@ -1618,18 +1618,8 @@ Bool_t AliHFEV0cuts::GetHelixCenter(AliESDtrack * const track, Double_t b,Int_t
       xpoint = - xpoint;
       ypoint = - ypoint;
     }
-
-    if(charge < 0){
-      xpoint =  xpoint;
-      ypoint =  ypoint;
-    }
   }
   if(b>0){
-    if(charge > 0){
-      xpoint =  xpoint;
-      ypoint =  ypoint;
-    }
-
     if(charge < 0){
       xpoint = - xpoint;
       ypoint = - ypoint;