]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
coverity warning 10075 fixed
authorsgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 12 Mar 2011 03:02:21 +0000 (03:02 +0000)
committersgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 12 Mar 2011 03:02:21 +0000 (03:02 +0000)
HLT/TPCLib/tracking-ca/AliHLTTPCCATrackerComponent.cxx

index 5cc6c71ddce8ce53646150682bfc20578517f797..814a8f54d4eb63d339862047605ec071b724b5aa 100644 (file)
@@ -298,26 +298,25 @@ int AliHLTTPCCATrackerComponent::Configure( const char* cdbEntry, const char* ch
   int iResult1 = ReadCDBEntry( NULL, chainId );
 
   //* read magnetic field
-
-  int iResult2 = 0; //ReadCDBEntry( kAliHLTCDBSolenoidBz, chainId );
+  
   fSolenoidBz = GetBz();
 
   //* 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 );
   }
 
   // Initialise the tracker here
 
-  return iResult1 ? iResult1 : ( iResult2 ? iResult2 : ( iResult3 ? iResult3 : iResult4 ) );
+  return iResult1 ? iResult1 : ( iResult2 ? iResult2 :  iResult3  );
 }
 
 int AliHLTTPCCATrackerComponent::DoInit( int argc, const char** argv )