Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp')
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp
index 44f12c9e307..242f4a141bc 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVectorViewShape.cpp
@@ -153,8 +153,7 @@ PyDoc_STRVAR(integration_type_doc,
"\n"
":type: :class:`IntegrationType`");
-static PyObject *integration_type_get(BPy_UnaryFunction1DVectorViewShape *self,
- void *UNUSED(closure))
+static PyObject *integration_type_get(BPy_UnaryFunction1DVectorViewShape *self, void * /*closure*/)
{
return BPy_IntegrationType_from_IntegrationType(
self->uf1D_vectorviewshape->getIntegrationType());
@@ -162,7 +161,7 @@ static PyObject *integration_type_get(BPy_UnaryFunction1DVectorViewShape *self,
static int integration_type_set(BPy_UnaryFunction1DVectorViewShape *self,
PyObject *value,
- void *UNUSED(closure))
+ void * /*closure*/)
{
if (!BPy_IntegrationType_Check(value)) {
PyErr_SetString(PyExc_TypeError, "value must be an IntegrationType");