Cleanup: style, use braces in source/
Automated using clang-tidy.
This commit is contained in:
@@ -44,8 +44,9 @@ static int TrueUP0D___init__(BPy_TrueUP0D *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
static const char *kwlist[] = {NULL};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "", (char **)kwlist))
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "", (char **)kwlist)) {
|
||||
return -1;
|
||||
}
|
||||
self->py_up0D.up0D = new Predicates0D::TrueUP0D();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user