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

index cfabf249939e4bf6b31eb0a26bcde6415529df1d..add77f452b5995d4634fdf30d1e5a27a775a3f42 100644 (file)
@@ -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  );
 }