From: sgorbuno Date: Sat, 12 Mar 2011 02:52:32 +0000 (+0000) Subject: coverity warnings 15382 15100 fixed X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=c6af1e275f964cc1ff67dbf65ad497e5e72f1584;p=u%2Fmrichter%2FAliRoot.git coverity warnings 15382 15100 fixed --- diff --git a/HLT/ITS/AliHLTITSVertexerSPDComponent.cxx b/HLT/ITS/AliHLTITSVertexerSPDComponent.cxx index 1b186a1bcca..4037772365b 100644 --- a/HLT/ITS/AliHLTITSVertexerSPDComponent.cxx +++ b/HLT/ITS/AliHLTITSVertexerSPDComponent.cxx @@ -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 : "" );