]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
coverity warnings 15382 15100 fixed
authorsgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 12 Mar 2011 02:52:32 +0000 (02:52 +0000)
committersgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 12 Mar 2011 02:52:32 +0000 (02:52 +0000)
HLT/ITS/AliHLTITSVertexerSPDComponent.cxx

index 1b186a1bccac1d503df7f2c63808cd21621ef9e4..4037772365bd929cca29b80e35e56efd75dd610b 100644 (file)
@@ -93,6 +93,13 @@ AliHLTITSVertexerSPDComponent::AliHLTITSVertexerSPDComponent( const AliHLTITSVer
     fNZBins(0)
 {
   // see header file for class documentation
+
+  for( int i=0; i<9; i++ ) fSum[i] = 0;
+
+  fRunVtx[0] = 0;
+  fRunVtx[1] = 0;
+  fRunVtx[2] = 0;
+
   HLTFatal( "copy constructor untested" );
 }
 
@@ -242,9 +249,9 @@ int AliHLTITSVertexerSPDComponent::ReadCDBEntry( const char* cdbEntry, const cha
 
   if ( !cdbEntry ) {
     return 0;// need to add the HLT/ConfigITS/ITSTracker directory to cdb SG!!!
-    cdbEntry = "HLT/ConfigITS/ITSTracker";
-    defaultNotify = " (default)";
-    chainId = 0;
+    //cdbEntry = "HLT/ConfigITS/ITSTracker";
+    //defaultNotify = " (default)";
+    //chainId = 0;
   }
 
   HLTInfo( "configure from entry \"%s\"%s, chain id %s", cdbEntry, defaultNotify, ( chainId != NULL && chainId[0] != 0 ) ? chainId : "<none>" );