From ce06381a34799c4c46238c8852204405ac1bc76a Mon Sep 17 00:00:00 2001 From: sgorbuno Date: Sat, 12 Mar 2011 10:55:31 +0000 Subject: [PATCH] coverity warning 10034 fixed --- HLT/TPCLib/tracking-ca/AliHLTTPCCADisplay.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/HLT/TPCLib/tracking-ca/AliHLTTPCCADisplay.cxx b/HLT/TPCLib/tracking-ca/AliHLTTPCCADisplay.cxx index 381b4824dee..c1b4f460a29 100644 --- a/HLT/TPCLib/tracking-ca/AliHLTTPCCADisplay.cxx +++ b/HLT/TPCLib/tracking-ca/AliHLTTPCCADisplay.cxx @@ -443,7 +443,7 @@ void AliHLTTPCCADisplay::DrawSliceHit( int iRow, int iHit, int color, Size_t wid SetSliceTransform( fSlice ); if ( color < 0 ) { - if ( 0 && fPerf ) { + //if ( 0 && fPerf ) { //AliHLTTPCCAPerformance::AliHLTTPCCAHitLabel lab //= fPerf->GetClusterLabel( fSlice->Param().ISlice(), fSlice->HitInputID( row, iHit ) ); //color = GetColor( lab[0] + 1 ); @@ -452,7 +452,8 @@ void AliHLTTPCCADisplay::DrawSliceHit( int iRow, int iHit, int color, Size_t wid //if ( mc.P() >= 1. ) color = kRed; //else if ( fDrawOnlyRef ) return; //} - } else color = GetColorZ( z ); + //} else + color = GetColorZ( z ); } if ( width > 0 )fMarker.SetMarkerSize( width ); else fMarker.SetMarkerSize( .3 ); -- 2.39.3