diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Iterator.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Iterator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Iterator.cpp b/source/blender/freestyle/intern/python/BPy_Iterator.cpp index 35e6dd5536e..b167faa15e5 100644 --- a/source/blender/freestyle/intern/python/BPy_Iterator.cpp +++ b/source/blender/freestyle/intern/python/BPy_Iterator.cpp @@ -177,7 +177,7 @@ PyDoc_STRVAR(Iterator_name_doc, "\n" ":type: str"); -static PyObject *Iterator_name_get(BPy_Iterator *self, void *UNUSED(closure)) +static PyObject *Iterator_name_get(BPy_Iterator *self, void * /*closure*/) { return PyUnicode_FromString(Py_TYPE(self)->tp_name); } @@ -187,7 +187,7 @@ PyDoc_STRVAR(Iterator_is_begin_doc, "\n" ":type: bool"); -static PyObject *Iterator_is_begin_get(BPy_Iterator *self, void *UNUSED(closure)) +static PyObject *Iterator_is_begin_get(BPy_Iterator *self, void * /*closure*/) { return PyBool_from_bool(self->it->isBegin()); } @@ -197,7 +197,7 @@ PyDoc_STRVAR(Iterator_is_end_doc, "\n" ":type: bool"); -static PyObject *Iterator_is_end_get(BPy_Iterator *self, void *UNUSED(closure)) +static PyObject *Iterator_is_end_get(BPy_Iterator *self, void * /*closure*/) { return PyBool_from_bool(self->it->isEnd()); } |