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

@@ -72,7 +72,7 @@ static int FrsCurve_init(BPy_FrsCurve *self, PyObject *args, PyObject *kwds)
self->c = new Curve(*(((BPy_FrsCurve *)obj)->c));
}
}
else if (PyErr_Clear(),
else if ((void)PyErr_Clear(),
PyArg_ParseTupleAndKeywords(args, kwds, "O!", (char **)kwlist_2, &Id_Type, &obj)) {
self->c = new Curve(*(((BPy_Id *)obj)->id));
}