Cleanup: style, use braces in source/
Automated using clang-tidy.
This commit is contained in:
@@ -47,8 +47,9 @@ static int Length2DBP1D___init__(BPy_Length2DBP1D *self, PyObject *args, PyObjec
|
||||
{
|
||||
static const char *kwlist[] = {NULL};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "", (char **)kwlist))
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "", (char **)kwlist)) {
|
||||
return -1;
|
||||
}
|
||||
self->py_bp1D.bp1D = new Predicates1D::Length2DBP1D();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user