Cleanup: quiet possible comma misuse warning in feestyle PyAPI

This commit is contained in:
2020-07-29 10:53:00 +10:00
parent 1e76441dd6
commit a3c6304a27
23 changed files with 39 additions and 37 deletions

View File

@@ -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);