diff --git a/IORawData/DTCommissioning/plugins/DTNewROS8FileReader.cc b/IORawData/DTCommissioning/plugins/DTNewROS8FileReader.cc index 9b230fbc92e8d..fc7d7e1195550 100644 --- a/IORawData/DTCommissioning/plugins/DTNewROS8FileReader.cc +++ b/IORawData/DTCommissioning/plugins/DTNewROS8FileReader.cc @@ -100,7 +100,7 @@ int DTNewROS8FileReader::fillRawData(Event& e, //2.- Get the HEADER ============================================================================ int datahead[numberEventHeadWords]; for (int iih = 0; iih < numberEventHeadWords; iih++) { - nread = inputFile.read(dataPointer(&datahead[iih]), ros8WordLenght); + inputFile.read(dataPointer(&datahead[iih]), ros8WordLenght); } //3.- ROS DATA & 4.- PU DATA (Trigger) ======================================================= diff --git a/IORawData/SiPixelInputSources/src/PixelSLinkDataInputSource.cc b/IORawData/SiPixelInputSources/src/PixelSLinkDataInputSource.cc index b7a1fe2b7d771..61a75bad3f7da 100644 --- a/IORawData/SiPixelInputSources/src/PixelSLinkDataInputSource.cc +++ b/IORawData/SiPixelInputSources/src/PixelSLinkDataInputSource.cc @@ -259,8 +259,7 @@ bool PixelSLinkDataInputSource::setRunAndEventInfo(edm::EventID &id, // create product (raw data) buffers = std::make_unique(); - // uint32_t currenteventnumber = (m_data >> 32)&0x00ffffff; - uint32_t eventnumber = (m_data >> 32) & 0x00ffffff; + uint32_t eventnumber; do { std::vector buffer; diff --git a/JetMETCorrections/MCJet/bin/ReadTree.cc b/JetMETCorrections/MCJet/bin/ReadTree.cc index a41cb75f28a35..df4fbc2630785 100644 --- a/JetMETCorrections/MCJet/bin/ReadTree.cc +++ b/JetMETCorrections/MCJet/bin/ReadTree.cc @@ -119,7 +119,6 @@ int main(int argc, char **argv) { if (cut_ptmin && cut_dR && cut_njets) { ind_pt = getBin(ptGen, pt_vec); ind_eta = getBin(etaJet, eta_vec); - resp = 0.; if (UseRatioForResponse && ptGen > 0) resp = ptJet / ptGen; else