From f6dea3dfbf2a21f997f4fa1eb3b9a15d5b6cafb0 Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 15 Nov 2019 16:24:35 -0300 Subject: [PATCH] Remove unused vars --- src/app/widget_loader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/widget_loader.cpp b/src/app/widget_loader.cpp index b5db9e349..684911d05 100644 --- a/src/app/widget_loader.cpp +++ b/src/app/widget_loader.cpp @@ -452,9 +452,9 @@ Widget* WidgetLoader::convertXmlElementToWidget(const TiXmlElement* elem, Widget widget = new ButtonSet(strtol(columns, NULL, 10)); if (ButtonSet* buttonset = dynamic_cast(widget)) { - if (bool multiple = bool_attr_is_true(elem, "multiple")) + if (bool_attr_is_true(elem, "multiple")) buttonset->setMultiMode(ButtonSet::MultiMode::Set); - if (bool oneormore = bool_attr_is_true(elem, "oneormore")) + if (bool_attr_is_true(elem, "oneormore")) buttonset->setMultiMode(ButtonSet::MultiMode::OneOrMore); } }