[Bf-blender-cvs] [8d60ac2bb0f] master: Cleanup: Fix unused variable warning
Hans Goudey
noreply at git.blender.org
Thu Sep 30 21:02:09 CEST 2021
Commit: 8d60ac2bb0f3833e1ab1c9a5b70595a5d416b9e3
Author: Hans Goudey
Date: Thu Sep 30 14:01:56 2021 -0500
Branches: master
https://developer.blender.org/rB8d60ac2bb0f3833e1ab1c9a5b70595a5d416b9e3
Cleanup: Fix unused variable warning
===================================================================
M source/blender/nodes/shader/nodes/node_shader_curves.cc
===================================================================
diff --git a/source/blender/nodes/shader/nodes/node_shader_curves.cc b/source/blender/nodes/shader/nodes/node_shader_curves.cc
index 253bb3cc4b6..8657d9e517d 100644
--- a/source/blender/nodes/shader/nodes/node_shader_curves.cc
+++ b/source/blender/nodes/shader/nodes/node_shader_curves.cc
@@ -375,7 +375,7 @@ static void node_shader_exec_curve_float(void *UNUSED(data),
}
}
-static void node_shader_init_curve_float(bNodeTree *ntree, bNode *node)
+static void node_shader_init_curve_float(bNodeTree *UNUSED(ntree), bNode *node)
{
node->storage = BKE_curvemapping_add(1, 0.0f, 0.0f, 1.0f, 1.0f);
}
More information about the Bf-blender-cvs
mailing list