Skip to content

Commit 99287a2

Browse files
authored
Merge pull request #45659 from perrotta/removeDeadCodeMuonAlignmentInputXML
Remove a dead assignment in Alignment/MuonAlignment/src/MuonAlignmentInputXML.cc
2 parents 14375bf + b159a9e commit 99287a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Alignment/MuonAlignment/src/MuonAlignmentInputXML.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -716,8 +716,8 @@ Alignable *MuonAlignmentInputXML::getGEMnode(align::StructureType structureType,
716716
throw cms::Exception("XMLException") << "Value of \"rawId\" must be an integer" << std::endl;
717717
}
718718
} else {
719-
int endcap, station, ring, superChamber, chamber;
720-
endcap = station = ring = superChamber = chamber = 1;
719+
int endcap, station, ring, superChamber;
720+
endcap = station = ring = superChamber = 1;
721721

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

0 commit comments

Comments
 (0)