Skip to content

Commit

Permalink
Merge pull request #43038 from aandvalenzuela/from-CMSSW_13_3_SKYLAKE…
Browse files Browse the repository at this point in the history
…AVX512_X_2023-10-15-2300

Fixing warning on `hgtopo[i]` uninitialized (`SimGeneral/Debugging`) in SKYLAKEAVX512 IBs
  • Loading branch information
cmsbuild authored Oct 19, 2023
2 parents d102b3c + 96a015c commit df8bb6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SimGeneral/Debugging/plugins/CaloParticleDebugger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,8 @@ void CaloParticleDebugger::fillSimHits(std::map<int, float>& detIdToTotalSimEner
hgtopo[1] = &(fhgeom->topology());
if (bhgeomnew)
hgtopo[2] = &(bhgeomnew->topology());
else
hgtopo[2] = nullptr;

for (unsigned i = 0; i < 3; ++i) {
if (hgtopo[i])
Expand Down

0 comments on commit df8bb6a

Please sign in to comment.