From 01c625bd08cde7934882100a41059e05f7460f1a Mon Sep 17 00:00:00 2001 From: sgorbuno Date: Sat, 12 Mar 2011 03:00:55 +0000 Subject: [PATCH] coverity warning 10078 fixed --- .../AliHLTTPCCATrackerOutputConverter.cxx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/HLT/TPCLib/tracking-ca/AliHLTTPCCATrackerOutputConverter.cxx b/HLT/TPCLib/tracking-ca/AliHLTTPCCATrackerOutputConverter.cxx index cfabf249939..add77f452b5 100644 --- a/HLT/TPCLib/tracking-ca/AliHLTTPCCATrackerOutputConverter.cxx +++ b/HLT/TPCLib/tracking-ca/AliHLTTPCCATrackerOutputConverter.cxx @@ -186,24 +186,21 @@ int AliHLTTPCCATrackerOutputConverter::Configure( const char* cdbEntry, const ch int iResult1 = ReadCDBEntry( NULL, chainId ); - //* read magnetic field - - int iResult2 = 0;//ReadCDBEntry( kAliHLTCDBSolenoidBz, chainId ); //* read the actual CDB entry if required - - int iResult3 = ( cdbEntry ) ? ReadCDBEntry( cdbEntry, chainId ) : 0; + + int iResult2 = ( cdbEntry ) ? ReadCDBEntry( cdbEntry, chainId ) : 0; //* read extra parameters from input (if they are) - int iResult4 = 0; + int iResult3 = 0; if ( commandLine && commandLine[0] != '\0' ) { HLTInfo( "received configuration string from HLT framework: \"%s\"", commandLine ); - iResult4 = ReadConfigurationString( commandLine ); + iResult3 = ReadConfigurationString( commandLine ); } - return iResult1 ? iResult1 : ( iResult2 ? iResult2 : ( iResult3 ? iResult3 : iResult4 ) ); + return iResult1 ? iResult1 : ( iResult2 ? iResult2 : iResult3 ); } -- 2.43.0