From 04bff76f1c5ecc6ea5fd9e02b4cf66b78111db3e Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Fri, 11 Feb 2022 11:15:33 -0600 Subject: [PATCH] Core: Fix metadata compiler warning --- src/App/MetadataPyImp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App/MetadataPyImp.cpp b/src/App/MetadataPyImp.cpp index ec92416411..21c2f7c56b 100644 --- a/src/App/MetadataPyImp.cpp +++ b/src/App/MetadataPyImp.cpp @@ -318,7 +318,7 @@ void MetadataPy::setFreeCADMax(Py::Object args) getMetadataPtr()->setFreeCADMax(App::Meta::Version(version)); } -PyObject* MetadataPy::getFirstSupportedFreeCADVersion(PyObject* args) +PyObject* MetadataPy::getFirstSupportedFreeCADVersion(PyObject*) { // Short-circuit: if the toplevel sets a version, then the lower-levels are overridden if (getMetadataPtr()->freecadmin() != App::Meta::Version()) @@ -339,7 +339,7 @@ PyObject* MetadataPy::getFirstSupportedFreeCADVersion(PyObject* args) return Py_None; } -PyObject* MetadataPy::getLastSupportedFreeCADVersion(PyObject* args) +PyObject* MetadataPy::getLastSupportedFreeCADVersion(PyObject*) { // Short-circuit: if the toplevel sets a version, then the lower-levels are overridden if (getMetadataPtr()->freecadmax() != App::Meta::Version()) @@ -369,4 +369,4 @@ PyObject* MetadataPy::getCustomAttributes(const char* /*attr*/) const int MetadataPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/) { return 0; -} \ No newline at end of file +}