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/BPy_ViewShape.cpp | |
parent | 1e76441dd6d9b191125197a20eef689e9f6865d6 (diff) |
Cleanup: quiet possible comma misuse warning in feestyle PyAPI
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_ViewShape.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_ViewShape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_ViewShape.cpp b/source/blender/freestyle/intern/python/BPy_ViewShape.cpp index f59ae15ae01..2adcae13e6d 100644 --- a/source/blender/freestyle/intern/python/BPy_ViewShape.cpp +++ b/source/blender/freestyle/intern/python/BPy_ViewShape.cpp @@ -88,7 +88,7 @@ static int ViewShape_init(BPy_ViewShape *self, PyObject *args, PyObject *kwds) self->py_ss = ((BPy_ViewShape *)obj)->py_ss; } } - else if (PyErr_Clear(), + else if ((void)PyErr_Clear(), PyArg_ParseTupleAndKeywords(args, kwds, "O!", (char **)kwlist_2, &SShape_Type, &obj)) { BPy_SShape *py_ss = (BPy_SShape *)obj; self->vs = new ViewShape(py_ss->ss); |