Fix compiler warnings

This commit is contained in:
wmayer
2024-12-03 10:15:15 +01:00
committed by wwmayer
parent 0ee3c9f8e6
commit 7fdc3b807a
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();

View File

@@ -739,7 +739,7 @@ Base::Placement getPlacementFromProp(App::DocumentObject* obj, const char* propN
return plc;
}
/* // Currently unused
// Currently unused
Base::Placement* getTargetPlacementRelativeTo(
App::DocumentObject* targetObj, App::DocumentObject* part, App::DocumentObject* container,
bool inContainerBranch, bool ignorePlacement = false)