[Bf-blender-cvs] [3e2591c83ed] master: Cleanup: Remove unused variable

Hans Goudey noreply at git.blender.org
Tue Jan 25 18:08:44 CET 2022


Commit: 3e2591c83ed6c4eb8adecfe06c976717f161cd23
Author: Hans Goudey
Date:   Tue Jan 25 11:08:34 2022 -0600
Branches: master
https://developer.blender.org/rB3e2591c83ed6c4eb8adecfe06c976717f161cd23

Cleanup: Remove unused variable

Mistake in a18bd403bf3edb495ee05

===================================================================

M	source/blender/nodes/function/nodes/node_fn_boolean_math.cc

===================================================================

diff --git a/source/blender/nodes/function/nodes/node_fn_boolean_math.cc b/source/blender/nodes/function/nodes/node_fn_boolean_math.cc
index 8c75a1c538d..9425c4ff328 100644
--- a/source/blender/nodes/function/nodes/node_fn_boolean_math.cc
+++ b/source/blender/nodes/function/nodes/node_fn_boolean_math.cc
@@ -63,7 +63,6 @@ static void node_boolean_math_label(const bNodeTree *UNUSED(ntree),
 
 static void node_gather_link_searches(GatherLinkSearchOpParams &params)
 {
-  const eNodeSocketDatatype type = static_cast<eNodeSocketDatatype>(params.other_socket().type);
   if (!params.node_tree().typeinfo->validate_link(
           static_cast<eNodeSocketDatatype>(params.other_socket().type), SOCK_BOOLEAN)) {
     return;



More information about the Bf-blender-cvs mailing list