Skip to content

Commit 787548a

Browse files
NathanielVolfangojenkins
authored andcommitted
QPR-11947 -- Fix unused variable error
1 parent 35d7efe commit 787548a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OREData/ored/portfolio/optiondata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void OptionData::fromXML(XMLNode* node) {
5656
exercisePrices_ = XMLUtils::getChildrenValuesAsDoubles(node, "ExercisePrices", "ExercisePrice", false);
5757

5858
if (XMLNode* n = XMLUtils::getChildNode(node, "ExerciseDates")) {
59-
if (XMLNode* ed = XMLUtils::getChildNode(n, "ExerciseDate")) {
59+
if (XMLUtils::getChildNode(n, "ExerciseDate")) {
6060
// For backward compatibility
6161
exerciseDates_ = XMLUtils::getChildrenValues(node, "ExerciseDates", "ExerciseDate");
6262
} else {

0 commit comments

Comments
 (0)