# HG changeset patch # User Chris Cannam # Date 1588178875 -3600 # Node ID 5feb1a8318dfa9d449b6da8f5bdb3886efe3ad98 # Parent f12c25651f96631a2a9cc0b16e6b55f818f4179a Fix compiler warning diff -r f12c25651f96 -r 5feb1a8318df widgets/PropertyBox.cpp --- a/widgets/PropertyBox.cpp Wed Apr 29 17:47:37 2020 +0100 +++ b/widgets/PropertyBox.cpp Wed Apr 29 17:47:55 2020 +0100 @@ -730,8 +730,8 @@ QString name = m_contextMenuOn->objectName(); QString label = m_container->getPropertyLabel(name); - int min = 0, max = 0, value = 0, deflt = 0; - value = m_container->getPropertyRangeAndValue(name, &min, &max, &deflt); + int min = 0, max = 0, deflt = 0; + (void)m_container->getPropertyRangeAndValue(name, &min, &max, &deflt); if (auto button = qobject_cast(m_contextMenuOn)) { button->setChecked(deflt > 0);