diff options
author | Jacques Lucke <jacques@blender.org> | 2021-02-15 12:31:41 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-02-15 12:31:41 +0300 |
commit | 32060ca1f137d2d92fca9a73a75a877431ece0a0 (patch) | |
tree | 6eea4ffd6913244eb8343f4da173e08e6eafdd44 | |
parent | 7a608f88a713c162d5a8b6d3a31795d1d92aa1ac (diff) |
Cleanup: unused variable
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc | 1 |
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; |