diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp index e39439dc0b1..c5b7d0f96da 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp +++ b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp @@ -76,7 +76,7 @@ PyDoc_STRVAR(CurvePointIterator_object_doc, "\n" ":type: :class:`CurvePoint`"); -static PyObject *CurvePointIterator_object_get(BPy_CurvePointIterator *self, void *UNUSED(closure)) +static PyObject *CurvePointIterator_object_get(BPy_CurvePointIterator *self, void * /*closure*/) { if (self->cp_it->isEnd()) { PyErr_SetString(PyExc_RuntimeError, "iteration has stopped"); @@ -90,7 +90,7 @@ PyDoc_STRVAR(CurvePointIterator_t_doc, "\n" ":type: float"); -static PyObject *CurvePointIterator_t_get(BPy_CurvePointIterator *self, void *UNUSED(closure)) +static PyObject *CurvePointIterator_t_get(BPy_CurvePointIterator *self, void * /*closure*/) { return PyFloat_FromDouble(self->cp_it->t()); } @@ -100,7 +100,7 @@ PyDoc_STRVAR(CurvePointIterator_u_doc, "\n" ":type: float"); -static PyObject *CurvePointIterator_u_get(BPy_CurvePointIterator *self, void *UNUSED(closure)) +static PyObject *CurvePointIterator_u_get(BPy_CurvePointIterator *self, void * /*closure*/) { return PyFloat_FromDouble(self->cp_it->u()); } |