Skip to content

Commit

Permalink
Merge pull request #45659 from perrotta/removeDeadCodeMuonAlignmentIn…
Browse files Browse the repository at this point in the history
…putXML

Remove a dead assignment in Alignment/MuonAlignment/src/MuonAlignmentInputXML.cc
  • Loading branch information
cmsbuild authored Aug 7, 2024
2 parents 14375bf + b159a9e commit 99287a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Alignment/MuonAlignment/src/MuonAlignmentInputXML.cc
Original file line number Diff line number Diff line change
Expand Up @@ -716,8 +716,8 @@ Alignable *MuonAlignmentInputXML::getGEMnode(align::StructureType structureType,
throw cms::Exception("XMLException") << "Value of \"rawId\" must be an integer" << std::endl;
}
} else {
int endcap, station, ring, superChamber, chamber;
endcap = station = ring = superChamber = chamber = 1;
int endcap, station, ring, superChamber;
endcap = station = ring = superChamber = 1;

DOMAttr *node_endcap = node->getAttributeNode(str_endcap);
if (node_endcap == nullptr)
Expand Down Expand Up @@ -758,7 +758,7 @@ Alignable *MuonAlignmentInputXML::getGEMnode(align::StructureType structureType,
} catch (const XMLException &toCatch) {
throw cms::Exception("XMLException") << "Value of \"superChamber\" must be an integer" << std::endl;
}
} // end if we need a chamber number
} // end if we need a superchamber number
} // end if we need a ring number
} // end if we need a station number

Expand Down

0 comments on commit 99287a2

Please sign in to comment.