Mercurial > hg > svgui
changeset 1604:5feb1a8318df
Fix compiler warning
author | Chris Cannam |
---|---|
date | Wed, 29 Apr 2020 17:47:55 +0100 |
parents | f12c25651f96 |
children | ae2d5f8ff005 |
files | widgets/PropertyBox.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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<QAbstractButton *>(m_contextMenuOn)) { button->setChecked(deflt > 0);