Cleanup: Fix uninitialized variable warning

This commit is contained in:
Hans Goudey 2021-06-07 07:54:49 -05:00
parent abee9a85d4
commit 7f1d1b03ad
1 changed files with 1 additions and 0 deletions

View File

@ -624,6 +624,7 @@ static void delete_mesh_selection(MeshComponent &component,
break;
default:
BLI_assert_unreachable();
mesh_out = nullptr;
break;
}
component.replace_mesh_but_keep_vertex_group_names(mesh_out);