[Bf-blender-cvs] [a2a89329815] functions: cleanup

Jacques Lucke noreply at git.blender.org
Thu Feb 13 11:06:20 CET 2020


Commit: a2a89329815a892992b1aee2409ce8a666c83381
Author: Jacques Lucke
Date:   Wed Feb 12 20:32:48 2020 +0100
Branches: functions
https://developer.blender.org/rBa2a89329815a892992b1aee2409ce8a666c83381

cleanup

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

M	source/blender/blenlib/BLI_parallel.h

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

diff --git a/source/blender/blenlib/BLI_parallel.h b/source/blender/blenlib/BLI_parallel.h
index dc3f9328f03..82c1e87a693 100644
--- a/source/blender/blenlib/BLI_parallel.h
+++ b/source/blender/blenlib/BLI_parallel.h
@@ -139,7 +139,8 @@ void parallel_map_keys(const StringMap<ValueT> &string_map, const FuncT &func)
 {
   ScopedVector<StringRefNull> key_vector;
 
-  string_map.foreach_item([&](StringRefNull key, const ValueT &value) { key_vector.append(key); });
+  string_map.foreach_item(
+      [&](StringRefNull key, const ValueT &UNUSED(value)) { key_vector.append(key); });
 
   parallel_for(key_vector.index_range(), [&](uint index) {
     StringRefNull key = key_vector[index];



More information about the Bf-blender-cvs mailing list