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/blender/nodes/function | |
parent | 73fa57159866d6f135690d0ff9a7afb2e8ac8043 (diff) |
Cleanup: unused argument warnings
Diffstat (limited to 'source/blender/nodes/function')
-rw-r--r-- | source/blender/nodes/function/nodes/node_fn_combine_color.cc | 2 | ||||
-rw-r--r-- | source/blender/nodes/function/nodes/node_fn_separate_color.cc | 2 |
2 files changed, 2 insertions, 2 deletions
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); |