Skip to content

Commit

Permalink
Merge pull request #41523 from smuzaffar/l1-llvm16-warn3
Browse files Browse the repository at this point in the history
[L1] [CLANG] Fix warnings reported by llvm16 in CLANG IBs
  • Loading branch information
cmsbuild committed May 6, 2023
2 parents b0972fd + 62baf85 commit a52f2d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions DataFormats/L1GlobalTrigger/src/L1GlobalTriggerRecord.cc
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ void L1GlobalTriggerRecord::printGtDecision(std::ostream& myCout) const {
int sizeW64 = 64; // 64 bits words

int iBit = 0;
int jBit = m_gtDecisionWord.size();
int nrDecWord = m_gtDecisionWord.size() / sizeW64;

std::ostringstream stream64;
Expand All @@ -162,7 +161,6 @@ void L1GlobalTriggerRecord::printGtDecision(std::ostream& myCout) const {
}

iBit++;
jBit--;
}

int iWord = 0;
Expand Down
2 changes: 0 additions & 2 deletions DataFormats/L1GlobalTrigger/src/L1GtFdlWord.cc
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ void L1GtFdlWord::printGtDecisionWord(std::ostream& myCout) const {
int sizeW64 = 64; // 64 bits words

int iBit = 0;
int jBit = m_gtDecisionWord.size();
int nrDecWord = m_gtDecisionWord.size() / sizeW64;

std::ostringstream stream64;
Expand All @@ -312,7 +311,6 @@ void L1GtFdlWord::printGtDecisionWord(std::ostream& myCout) const {
}

iBit++;
jBit--;
}

int iWord = 0;
Expand Down
6 changes: 3 additions & 3 deletions DataFormats/L1Trigger/src/L1DataEmulRecord.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ L1DataEmulRecord::L1DataEmulRecord() : deAgree(false), deGlt() {
}

L1DataEmulRecord::L1DataEmulRecord(bool evt_match,
bool sys_comp[],
bool sys_match[],
int nCand[][2],
bool sys_comp[DEnsys],
bool sys_match[DEnsys],
int nCand[DEnsys][2],
const L1DEDigiCollection& coll,
const GltDEDigi& glt)
: deAgree(evt_match), deGlt(glt) {
Expand Down

0 comments on commit a52f2d1

Please sign in to comment.