Skip to content
Snippets Groups Projects
Commit cd127434 authored by scott snyder's avatar scott snyder
Browse files

TBRec: Fix compilation warnings.

Compilation warnings: uninitialized variables.
parent 90a78a7a
No related branches found
No related tags found
No related merge requests found
...@@ -199,7 +199,7 @@ StatusCode TBBeamQualityEMFractionTool::accept(std::vector<std::string> m_partic ...@@ -199,7 +199,7 @@ StatusCode TBBeamQualityEMFractionTool::accept(std::vector<std::string> m_partic
} }
//Accesing the CaloCellContainer //Accesing the CaloCellContainer
const CaloCellContainer* cellContainer; const CaloCellContainer* cellContainer = nullptr;
sc = m_StoreGate->retrieve(cellContainer); sc = m_StoreGate->retrieve(cellContainer);
if (sc.isFailure()) { if (sc.isFailure()) {
......
...@@ -461,7 +461,7 @@ void TBTrackToCaloAlg::CompareImpactWithCluster() ...@@ -461,7 +461,7 @@ void TBTrackToCaloAlg::CompareImpactWithCluster()
// loop on clusters // loop on clusters
const CaloClusterContainer* cluster_container; const CaloClusterContainer* cluster_container = nullptr;
sc1=evtStore()->retrieve(cluster_container,m_cluster_container); sc1=evtStore()->retrieve(cluster_container,m_cluster_container);
const ImpactInCaloCollection* impact_collection; const ImpactInCaloCollection* impact_collection;
......
...@@ -52,7 +52,7 @@ StatusCode TBXCryYTableRead::execute() ...@@ -52,7 +52,7 @@ StatusCode TBXCryYTableRead::execute()
StatusCode sc; StatusCode sc;
// Retrieve Event Info from file // Retrieve Event Info from file
const TBEventInfo* theEventInfo; const TBEventInfo* theEventInfo = nullptr;
sc = evtStore()->retrieve(theEventInfo,"TBEventInfo"); sc = evtStore()->retrieve(theEventInfo,"TBEventInfo");
if ( sc.isFailure() ) { if ( sc.isFailure() ) {
ATH_MSG_ERROR ATH_MSG_ERROR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment