From: richterm Date: Tue, 3 May 2011 09:32:45 +0000 (+0000) Subject: coverity 15108, the code needs further revision since the loop does not make sense... X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=35e470ad7465795ecc8bd638b0219241201bff99 coverity 15108, the code needs further revision since the loop does not make sense anymore --- diff --git a/HLT/EVE/AliHLTEveHLT.cxx b/HLT/EVE/AliHLTEveHLT.cxx index a7a55118234..0d6ea6b9123 100644 --- a/HLT/EVE/AliHLTEveHLT.cxx +++ b/HLT/EVE/AliHLTEveHLT.cxx @@ -1,3 +1,4 @@ +// $Id$ /************************************************************************** * This file is property of and copyright by the ALICE HLT Project * * ALICE Experiment at CERN, All rights reserved. * @@ -571,11 +572,13 @@ AliEveTrack* AliHLTEveHLT::MakeEsdTrack (AliESDtrack *at, TEveTrackList* cont) { for( ; ok; dx*=.9 ){ + // FIXME this loop does not make sense anymore + // Matthias 2010-05-02 if( !t.TransportToX(x0+dx, bz, .999 ) ){ ok = 0; break; - if( TMath::Abs(dx)<1. ) break; - continue; + // if( TMath::Abs(dx)<1. ) break; + // continue; } break; }