Cleanup: remove redundant parentheses
This commit is contained in:
@@ -283,7 +283,7 @@ void BPY_app_handlers_reset(const short do_all)
|
||||
|
||||
for (i = PyList_GET_SIZE(ls) - 1; i >= 0; i--) {
|
||||
|
||||
if ((PyFunction_Check((item = PyList_GET_ITEM(ls, i)))) &&
|
||||
if (PyFunction_Check((item = PyList_GET_ITEM(ls, i))) &&
|
||||
(dict_ptr = _PyObject_GetDictPtr(item)) && (*dict_ptr) &&
|
||||
(PyDict_GetItem(*dict_ptr, perm_id_str) != NULL)) {
|
||||
/* keep */
|
||||
|
||||
@@ -1779,7 +1779,7 @@ static const EnumPropertyItem *enum_items_from_py(PyObject *seq_fast,
|
||||
|
||||
item = seq_fast_items[i];
|
||||
|
||||
if ((PyTuple_CheckExact(item)) && (item_size = PyTuple_GET_SIZE(item)) &&
|
||||
if (PyTuple_CheckExact(item) && (item_size = PyTuple_GET_SIZE(item)) &&
|
||||
(item_size >= 3 && item_size <= 5) &&
|
||||
(tmp.identifier = PyUnicode_AsUTF8AndSize(PyTuple_GET_ITEM(item, 0), &id_str_size)) &&
|
||||
(tmp.name = PyUnicode_AsUTF8AndSize(PyTuple_GET_ITEM(item, 1), &name_str_size)) &&
|
||||
|
||||
Reference in New Issue
Block a user