diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-07-29 03:53:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-07-29 04:00:32 +0300 |
commit | a3c6304a2767adcb133beee3a73fb960ab75b928 (patch) | |
tree | ac286f0b5129d228913b1f33158936548e72bf92 /source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp | |
parent | 1e76441dd6d9b191125197a20eef689e9f6865d6 (diff) |
Cleanup: quiet possible comma misuse warning in feestyle PyAPI
Diffstat (limited to 'source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp index 6ea61a060cb..6c496b0308b 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp +++ b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp @@ -75,7 +75,8 @@ static int CurvePointIterator_init(BPy_CurvePointIterator *self, PyObject *args, *(((BPy_CurvePointIterator *)brother)->cp_it)); } } - else if (PyErr_Clear(), PyArg_ParseTupleAndKeywords(args, kwds, "f", (char **)kwlist_2, &step)) { + else if ((void)PyErr_Clear(), + PyArg_ParseTupleAndKeywords(args, kwds, "f", (char **)kwlist_2, &step)) { self->cp_it = new CurveInternal::CurvePointIterator(step); } else { |