diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp index 4e4e4d31385..3fe84b3a76f 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp @@ -223,14 +223,14 @@ PyDoc_STRVAR(integration_type_doc, "\n" ":type: :class:`IntegrationType`"); -static PyObject *integration_type_get(BPy_UnaryFunction1DDouble *self, void *UNUSED(closure)) +static PyObject *integration_type_get(BPy_UnaryFunction1DDouble *self, void * /*closure*/) { return BPy_IntegrationType_from_IntegrationType(self->uf1D_double->getIntegrationType()); } static int integration_type_set(BPy_UnaryFunction1DDouble *self, PyObject *value, - void *UNUSED(closure)) + void * /*closure*/) { if (!BPy_IntegrationType_Check(value)) { PyErr_SetString(PyExc_TypeError, "value must be an IntegrationType"); |