diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-05 03:36:06 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-05 03:44:25 +0300 |
commit | 777b72b5cbbc582fb7b028f66c406285e0eb5370 (patch) | |
tree | a1fbfdd3cb5fb1852dc122842104bd8871b433d7 /source | |
parent | 73fa57159866d6f135690d0ff9a7afb2e8ac8043 (diff) |
Cleanup: unused argument warnings
Diffstat (limited to 'source')
6 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/nodes/composite/nodes/node_composite_sepcomb_color.cc b/source/blender/nodes/composite/nodes/node_composite_sepcomb_color.cc index 689c069c50f..b253656a628 100644 --- a/source/blender/nodes/composite/nodes/node_composite_sepcomb_color.cc +++ b/source/blender/nodes/composite/nodes/node_composite_sepcomb_color.cc @@ -65,7 +65,7 @@ static void cmp_node_separate_color_declare(NodeDeclarationBuilder &b) b.add_output<decl::Float>(N_("Alpha")); } -static void cmp_node_separate_color_update(bNodeTree *ntree, bNode *node) +static void cmp_node_separate_color_update(bNodeTree *UNUSED(ntree), bNode *node) { const NodeCMPCombSepColor *storage = (NodeCMPCombSepColor *)node->storage; node_cmp_combsep_color_label(&node->outputs, (CMPNodeCombSepColorMode)storage->mode); @@ -114,7 +114,7 @@ static void cmp_node_combine_color_declare(NodeDeclarationBuilder &b) b.add_output<decl::Color>(N_("Image")); } -static void cmp_node_combine_color_update(bNodeTree *ntree, bNode *node) +static void cmp_node_combine_color_update(bNodeTree *UNUSED(ntree), bNode *node) { const NodeCMPCombSepColor *storage = (NodeCMPCombSepColor *)node->storage; node_cmp_combsep_color_label(&node->inputs, (CMPNodeCombSepColorMode)storage->mode); diff --git a/source/blender/nodes/function/nodes/node_fn_combine_color.cc b/source/blender/nodes/function/nodes/node_fn_combine_color.cc index 8167cf55028..c5fd3ce38a1 100644 --- a/source/blender/nodes/function/nodes/node_fn_combine_color.cc +++ b/source/blender/nodes/function/nodes/node_fn_combine_color.cc @@ -36,7 +36,7 @@ static void fn_node_combine_color_layout(uiLayout *layout, bContext *UNUSED(C), uiItemR(layout, ptr, "mode", 0, "", ICON_NONE); } -static void fn_node_combine_color_update(bNodeTree *ntree, bNode *node) +static void fn_node_combine_color_update(bNodeTree *UNUSED(ntree), bNode *node) { const NodeCombSepColor &storage = node_storage(*node); node_combsep_color_label(&node->inputs, (NodeCombSepColorMode)storage.mode); diff --git a/source/blender/nodes/function/nodes/node_fn_separate_color.cc b/source/blender/nodes/function/nodes/node_fn_separate_color.cc index 3fea4c4c040..1701dfdc6fa 100644 --- a/source/blender/nodes/function/nodes/node_fn_separate_color.cc +++ b/source/blender/nodes/function/nodes/node_fn_separate_color.cc @@ -24,7 +24,7 @@ static void fn_node_separate_color_layout(uiLayout *layout, bContext *UNUSED(C), uiItemR(layout, ptr, "mode", 0, "", ICON_NONE); } -static void fn_node_separate_color_update(bNodeTree *ntree, bNode *node) +static void fn_node_separate_color_update(bNodeTree *UNUSED(ntree), bNode *node) { const NodeCombSepColor &storage = node_storage(*node); node_combsep_color_label(&node->outputs, (NodeCombSepColorMode)storage.mode); diff --git a/source/blender/nodes/shader/nodes/node_shader_sepcomb_color.cc b/source/blender/nodes/shader/nodes/node_shader_sepcomb_color.cc index a80b4ed0444..8e378ebabce 100644 --- a/source/blender/nodes/shader/nodes/node_shader_sepcomb_color.cc +++ b/source/blender/nodes/shader/nodes/node_shader_sepcomb_color.cc @@ -31,7 +31,7 @@ static void sh_node_sepcolor_declare(NodeDeclarationBuilder &b) b.add_output<decl::Float>(N_("Blue")); } -static void node_sepcolor_update(bNodeTree *ntree, bNode *node) +static void node_sepcolor_update(bNodeTree *UNUSED(ntree), bNode *node) { const NodeCombSepColor &storage = node_storage(*node); node_combsep_color_label(&node->outputs, (NodeCombSepColorMode)storage.mode); @@ -107,7 +107,7 @@ static void sh_node_combcolor_declare(NodeDeclarationBuilder &b) b.add_output<decl::Color>(N_("Color")); } -static void node_combcolor_update(bNodeTree *ntree, bNode *node) +static void node_combcolor_update(bNodeTree *UNUSED(ntree), bNode *node) { const NodeCombSepColor &storage = node_storage(*node); node_combsep_color_label(&node->inputs, (NodeCombSepColorMode)storage.mode); diff --git a/source/blender/nodes/texture/nodes/node_texture_combine_color.c b/source/blender/nodes/texture/nodes/node_texture_combine_color.c index 3ba6755e7c6..459553bc950 100644 --- a/source/blender/nodes/texture/nodes/node_texture_combine_color.c +++ b/source/blender/nodes/texture/nodes/node_texture_combine_color.c @@ -48,7 +48,7 @@ static void colorfn(float *out, TexParams *p, bNode *node, bNodeStack **in, shor } } -static void update(bNodeTree *ntree, bNode *node) +static void update(bNodeTree *UNUSED(ntree), bNode *node) { node_combsep_color_label(&node->inputs, (NodeCombSepColorMode)node->custom1); } diff --git a/source/blender/nodes/texture/nodes/node_texture_separate_color.c b/source/blender/nodes/texture/nodes/node_texture_separate_color.c index 94f9fafe838..a482a3f3421 100644 --- a/source/blender/nodes/texture/nodes/node_texture_separate_color.c +++ b/source/blender/nodes/texture/nodes/node_texture_separate_color.c @@ -71,7 +71,7 @@ static void valuefn_a(float *out, TexParams *p, bNode *UNUSED(node), bNodeStack *out = out[3]; } -static void update(bNodeTree *ntree, bNode *node) +static void update(bNodeTree *UNUSED(ntree), bNode *node) { node_combsep_color_label(&node->outputs, (NodeCombSepColorMode)node->custom1); } |