[Bf-blender-cvs] [cbadf3e29af] functions: cleanup warning
Jacques Lucke
noreply at git.blender.org
Mon Jan 27 22:10:21 CET 2020
Commit: cbadf3e29af167a2199541cf0f95cff8ea6bec57
Author: Jacques Lucke
Date: Sun Jan 26 21:55:32 2020 +0100
Branches: functions
https://developer.blender.org/rBcbadf3e29af167a2199541cf0f95cff8ea6bec57
cleanup warning
===================================================================
M source/blender/blenlib/BLI_parallel.h
===================================================================
diff --git a/source/blender/blenlib/BLI_parallel.h b/source/blender/blenlib/BLI_parallel.h
index 769beaf39fa..0011a70ef8c 100644
--- a/source/blender/blenlib/BLI_parallel.h
+++ b/source/blender/blenlib/BLI_parallel.h
@@ -46,6 +46,7 @@ void blocked_parallel_for(IndexRange range, uint grain_size, const FuncT &func)
tbb::blocked_range<uint>(range.first(), range.one_after_last(), grain_size),
[&](const tbb::blocked_range<uint> &sub_range) { func(IndexRange(sub_range)); });
#else
+ UNUSED_VARS_NDEBUG(grain_size);
func(range);
#endif
}
More information about the Bf-blender-cvs
mailing list