Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-02-15 12:31:41 +0300
committerJacques Lucke <jacques@blender.org>2021-02-15 12:31:41 +0300
commit32060ca1f137d2d92fca9a73a75a877431ece0a0 (patch)
tree6eea4ffd6913244eb8343f4da173e08e6eafdd44 /source/blender/nodes
parent7a608f88a713c162d5a8b6d3a31795d1d92aa1ac (diff)
Cleanup: unused variable
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc1
1 files changed, 1 insertions, 0 deletions
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;