From b15e279bc5f1891916e9e5b5c99d187b992bbfcd Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Tue, 16 Dec 2025 15:16:32 -0600 Subject: [PATCH] App: Compiler warning cleanup --- src/App/Link.cpp | 2 +- src/App/Services.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App/Link.cpp b/src/App/Link.cpp index 1fbaed54fe..0f0649b767 100644 --- a/src/App/Link.cpp +++ b/src/App/Link.cpp @@ -2671,7 +2671,7 @@ Base::Placement Link::getPlacementOf(const std::string& sub, DocumentObject* tar } std::vector plcs = PlacementList.getValues(); - if (plcs.size() <= i) { + if (plcs.size() <= static_cast(i)) { return plc; } plc = plc * plcs[i]; diff --git a/src/App/Services.cpp b/src/App/Services.cpp index 4b021529df..47f9aac0bc 100644 --- a/src/App/Services.cpp +++ b/src/App/Services.cpp @@ -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; } \ No newline at end of file