Cleanup: remove redundant parenthesis (especially with macros)

This commit is contained in:
2022-09-25 22:41:22 +10:00
parent 21d77a417e
commit 0419ee871f
34 changed files with 57 additions and 57 deletions

View File

@@ -1417,8 +1417,8 @@ void nodeUnregisterType(bNodeType *nt)
bool nodeTypeUndefined(const bNode *node)
{
return (node->typeinfo == &NodeTypeUndefined) ||
((ELEM(node->type, NODE_GROUP, NODE_CUSTOM_GROUP)) && node->id &&
ID_IS_LINKED(node->id) && (node->id->tag & LIB_TAG_MISSING));
(ELEM(node->type, NODE_GROUP, NODE_CUSTOM_GROUP) && node->id && ID_IS_LINKED(node->id) &&
(node->id->tag & LIB_TAG_MISSING));
}
GHashIterator *nodeTypeGetIterator()