Skip to content

Commit 595c99b

Browse files
committed
[LLVM Analyzer][ALCA,ANALYSIS] Remove dead assignments
1 parent 26a5101 commit 595c99b

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

IORawData/DTCommissioning/plugins/DTNewROS8FileReader.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ int DTNewROS8FileReader::fillRawData(Event& e,
100100
//2.- Get the HEADER ============================================================================
101101
int datahead[numberEventHeadWords];
102102
for (int iih = 0; iih < numberEventHeadWords; iih++) {
103-
nread = inputFile.read(dataPointer<int>(&datahead[iih]), ros8WordLenght);
103+
inputFile.read(dataPointer<int>(&datahead[iih]), ros8WordLenght);
104104
}
105105

106106
//3.- ROS DATA & 4.- PU DATA (Trigger) =======================================================

IORawData/SiPixelInputSources/src/PixelSLinkDataInputSource.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ bool PixelSLinkDataInputSource::setRunAndEventInfo(edm::EventID &id,
260260
buffers = std::make_unique<FEDRawDataCollection>();
261261

262262
// uint32_t currenteventnumber = (m_data >> 32)&0x00ffffff;
263-
uint32_t eventnumber = (m_data >> 32) & 0x00ffffff;
263+
uint32_t eventnumber = 0;
264264

265265
do {
266266
std::vector<uint64_t> buffer;

JetMETCorrections/MCJet/bin/ReadTree.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ int main(int argc, char **argv) {
119119
if (cut_ptmin && cut_dR && cut_njets) {
120120
ind_pt = getBin(ptGen, pt_vec);
121121
ind_eta = getBin(etaJet, eta_vec);
122-
resp = 0.;
123122
if (UseRatioForResponse && ptGen > 0)
124123
resp = ptJet / ptGen;
125124
else

0 commit comments

Comments
 (0)