[Bf-blender-cvs] [6633d6d7d00] newboolean: Made two functions static to silence a warning.

Howard Trickey noreply at git.blender.org
Thu Jul 2 17:16:20 CEST 2020


Commit: 6633d6d7d0071172dbe775a150958c7d35b435de
Author: Howard Trickey
Date:   Thu Jul 2 11:15:28 2020 -0400
Branches: newboolean
https://developer.blender.org/rB6633d6d7d0071172dbe775a150958c7d35b435de

Made two functions static to silence a warning.

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

M	source/blender/blenlib/intern/delaunay_2d.cc

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

diff --git a/source/blender/blenlib/intern/delaunay_2d.cc b/source/blender/blenlib/intern/delaunay_2d.cc
index ac3868dc194..d07fcc79d57 100644
--- a/source/blender/blenlib/intern/delaunay_2d.cc
+++ b/source/blender/blenlib/intern/delaunay_2d.cc
@@ -446,14 +446,14 @@ static bool id_range_in_list(const LinkNode *id_list, int range_start, int range
   return false;
 }
 
-void add_to_input_ids(LinkNode **dst, int input_id)
+static void add_to_input_ids(LinkNode **dst, int input_id)
 {
   if (!id_in_list(*dst, input_id)) {
     BLI_linklist_prepend(dst, POINTER_FROM_INT(input_id));
   }
 }
 
-void add_list_to_input_ids(LinkNode **dst, const LinkNode *src)
+static void add_list_to_input_ids(LinkNode **dst, const LinkNode *src)
 {
   const LinkNode *ln;



More information about the Bf-blender-cvs mailing list