App: Compiler warning cleanup

This commit is contained in:
Chris Hennes
2025-12-16 15:16:32 -06:00
parent e147e5a260
commit 55a55725eb
2 changed files with 2 additions and 2 deletions

View File

@@ -2671,7 +2671,7 @@ Base::Placement Link::getPlacementOf(const std::string& sub, DocumentObject* tar
}
std::vector<Base::Placement> plcs = PlacementList.getValues();
if (plcs.size() <= i) {
if (plcs.size() <= static_cast<size_t>(i)) {
return plc;
}
plc = plc * plcs[i];

View File

@@ -29,7 +29,7 @@ App::NullCenterOfMass::ofDocumentObject([[maybe_unused]] DocumentObject* object)
return std::nullopt;
}
bool App::NullCenterOfMass::supports(DocumentObject* object) const
bool App::NullCenterOfMass::supports(DocumentObject* /*object*/) const
{
return false;
}