Fix compiler warnings

This commit is contained in:
wmayer
2024-12-03 10:15:15 +01:00
committed by wwmayer
parent e62b91ada4
commit d1ef73dddc
2 changed files with 3 additions and 2 deletions

View File

@@ -245,7 +245,8 @@ static PropertyEditor::PropertyItem *createPropertyItem(App::Property *prop)
return item;
}
void DlgAddPropertyVarSet::addEditor(PropertyEditor::PropertyItem* propertyItem, std::string& type)
void DlgAddPropertyVarSet::addEditor(PropertyEditor::PropertyItem* propertyItem,
[[maybe_unused]]std::string& type)
{
editor.reset(propertyItem->createEditor(this, [this]() {
this->valueChanged();