[Bf-blender-cvs] [a88db0aa7dd] functions: fix warning

Jacques Lucke noreply at git.blender.org
Thu Feb 13 12:04:51 CET 2020


Commit: a88db0aa7dd9785c4cf68a8e510e7a7114035319
Author: Jacques Lucke
Date:   Thu Feb 13 11:53:15 2020 +0100
Branches: functions
https://developer.blender.org/rBa88db0aa7dd9785c4cf68a8e510e7a7114035319

fix warning

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

M	source/blender/functions/intern/node_tree_multi_function_network/generate.cc

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

diff --git a/source/blender/functions/intern/node_tree_multi_function_network/generate.cc b/source/blender/functions/intern/node_tree_multi_function_network/generate.cc
index a5dea57ed04..ddb93fa1f3a 100644
--- a/source/blender/functions/intern/node_tree_multi_function_network/generate.cc
+++ b/source/blender/functions/intern/node_tree_multi_function_network/generate.cc
@@ -12,9 +12,10 @@
 namespace FN {
 namespace MFGeneration {
 
-BLI_NOINLINE static bool check_if_data_links_are_valid(const FunctionTree &function_tree,
-                                                       const FunctionTreeMFMappings &mappings,
-                                                       const FSocketDataTypes &fsocket_data_types)
+BLI_NOINLINE static bool UNUSED_FUNCTION_NDEBUG(check_if_data_links_are_valid)(
+    const FunctionTree &function_tree,
+    const FunctionTreeMFMappings &mappings,
+    const FSocketDataTypes &fsocket_data_types)
 {
   for (const FInputSocket *to_fsocket : function_tree.all_input_sockets()) {
     ArrayRef<const FOutputSocket *> origin_sockets = to_fsocket->linked_sockets();



More information about the Bf-blender-cvs mailing list