Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove a dead assignment in Alignment/MuonAlignment/src/MuonAlignmentInputXML.cc #45659

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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