diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-12-30 02:51:10 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-12-30 02:51:10 +0300 |
commit | 9d3264b4fd04ee4a6b52e0f97de3fcd3a81c1a86 (patch) | |
tree | 2166b322b4ecb8a49ce18e595024554465a79615 /source/blender/nodes | |
parent | d3a31311b9ba2108e292d05a91893396456b387c (diff) |
Cleanup: clang-tidy modernize-redundant-void-arg
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/intern/node_common.cc | 8 | ||||
-rw-r--r-- | source/blender/nodes/intern/node_socket.cc | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/nodes/intern/node_common.cc b/source/blender/nodes/intern/node_common.cc index 05b85ca7fdc..99bcdcbbba8 100644 --- a/source/blender/nodes/intern/node_common.cc +++ b/source/blender/nodes/intern/node_common.cc @@ -232,7 +232,7 @@ static void node_frame_init(bNodeTree *UNUSED(ntree), bNode *node) data->label_size = 20; } -void register_node_type_frame(void) +void register_node_type_frame() { /* frame type is used for all tree types, needs dynamic allocation */ bNodeType *ntype = MEM_cnew<bNodeType>("frame node type"); @@ -261,7 +261,7 @@ static void node_reroute_init(bNodeTree *ntree, bNode *node) nodeAddStaticSocket(ntree, node, SOCK_OUT, SOCK_RGBA, PROP_NONE, "Output", "Output"); } -void register_node_type_reroute(void) +void register_node_type_reroute() { /* frame type is used for all tree types, needs dynamic allocation */ bNodeType *ntype = MEM_cnew<bNodeType>("frame node type"); @@ -502,7 +502,7 @@ void node_group_input_update(bNodeTree *ntree, bNode *node) } } -void register_node_type_group_input(void) +void register_node_type_group_input() { /* used for all tree types, needs dynamic allocation */ bNodeType *ntype = MEM_cnew<bNodeType>("node type"); @@ -600,7 +600,7 @@ void node_group_output_update(bNodeTree *ntree, bNode *node) } } -void register_node_type_group_output(void) +void register_node_type_group_output() { /* used for all tree types, needs dynamic allocation */ bNodeType *ntype = MEM_cnew<bNodeType>("node type"); diff --git a/source/blender/nodes/intern/node_socket.cc b/source/blender/nodes/intern/node_socket.cc index 8e2d7e7ebe9..6a6b6e3d3cc 100644 --- a/source/blender/nodes/intern/node_socket.cc +++ b/source/blender/nodes/intern/node_socket.cc @@ -872,7 +872,7 @@ static bNodeSocketType *make_socket_type_material() return socktype; } -void register_standard_node_socket_types(void) +void register_standard_node_socket_types() { /* Draw callbacks are set in `drawnode.c` to avoid bad-level calls. */ |