Skip to content

Commit

Permalink
Merge pull request #33742 from mrodozov/init-struct-vars-L1TrgL1TT
Browse files Browse the repository at this point in the history
Add init values for struct members to silence Arm warning
  • Loading branch information
cmsbuild committed May 21, 2021
2 parents 2482689 + 5ee4b99 commit 41a23c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions L1Trigger/L1TTrackMatch/plugins/L1TrackJetProducer.cc
Expand Up @@ -274,9 +274,8 @@ void L1TrackJetProducer::L2_cluster(
vector<Ptr<L1TTTrackType> > L1TrkPtrs_, vector<int> ttrk_, vector<int> tdtrk_, vector<int> ttdtrk_, MaxZBin &mzb) {
const int nz = zBins_;
MaxZBin all_zBins[nz];
MaxZBin mzbtemp;
for (int z = 0; z < nz; ++z)
all_zBins[z] = mzbtemp;
all_zBins[z] = MaxZBin{0, 0, 0, nullptr, 0};

float zmin = -1.0 * trkZMax_;
float zmax = zmin + 2 * zStep_;
Expand Down

0 comments on commit 41a23c9

Please sign in to comment.