Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-10-12 17:13:21 +0300
committerHans Goudey <h.goudey@me.com>2021-10-12 17:13:21 +0300
commitc1a1644db7b13425675819eeea9ef96bab4f5c97 (patch)
tree44b633870231c36c87b070fa4c3d922e8999d7df /source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc
parent30cd1d10a95a5e32b9e0daf1a24c41123f262c96 (diff)
Cleanup: Attempt to fix benign macOS compile warnings
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc b/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc
index fc9cba73b01..33f8c53e343 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc
@@ -923,10 +923,10 @@ static void do_mesh_separation(GeometrySet &geometry_set,
switch (mode) {
case GEO_NODE_DELETE_GEOMETRY_MODE_ALL: {
Array<int> vertex_map(mesh_in.totvert);
- int num_selected_vertices;
+ int num_selected_vertices = 0;
Array<int> edge_map(mesh_in.totedge);
- int num_selected_edges;
+ int num_selected_edges = 0;
/* Fill all the maps based on the selection. */
switch (domain) {
@@ -990,7 +990,7 @@ static void do_mesh_separation(GeometrySet &geometry_set,
}
case GEO_NODE_DELETE_GEOMETRY_MODE_EDGE_FACE: {
Array<int> edge_map(mesh_in.totedge);
- int num_selected_edges;
+ int num_selected_edges = 0;
/* Fill all the maps based on the selection. */
switch (domain) {