[Bf-blender-cvs] [32060ca1f13] master: Cleanup: unused variable

Jacques Lucke noreply at git.blender.org
Mon Feb 15 10:31:49 CET 2021


Commit: 32060ca1f137d2d92fca9a73a75a877431ece0a0
Author: Jacques Lucke
Date:   Mon Feb 15 10:31:41 2021 +0100
Branches: master
https://developer.blender.org/rB32060ca1f137d2d92fca9a73a75a877431ece0a0

Cleanup: unused variable

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

M	source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc

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

diff --git a/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc b/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc
index dc924ede3a1..8a098c366a0 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc
@@ -154,6 +154,7 @@ static void randomize_attribute_bool(MutableSpan<bool> span,
                                      const GeometryNodeAttributeRandomizeMode operation)
 {
   BLI_assert(operation == GEO_NODE_ATTRIBUTE_RANDOMIZE_REPLACE_CREATE);
+  UNUSED_VARS_NDEBUG(operation);
   for (const int i : span.index_range()) {
     const bool random_value = get_random_value<bool>(ids[i], seed);
     span[i] = random_value;



More information about the Bf-blender-cvs mailing list