From b159a9e20e00b651b8ee386acdbda88dd1f57746 Mon Sep 17 00:00:00 2001 From: Andrea Date: Wed, 7 Aug 2024 10:39:31 +0200 Subject: [PATCH] Remove a dead assignment --- Alignment/MuonAlignment/src/MuonAlignmentInputXML.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Alignment/MuonAlignment/src/MuonAlignmentInputXML.cc b/Alignment/MuonAlignment/src/MuonAlignmentInputXML.cc index 1224b5de5219c..5c9b74918d3ac 100644 --- a/Alignment/MuonAlignment/src/MuonAlignmentInputXML.cc +++ b/Alignment/MuonAlignment/src/MuonAlignmentInputXML.cc @@ -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) @@ -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