Cleanup: Fix uninitialized variable warning

This commit is contained in:
2021-06-07 07:54:49 -05:00
parent abee9a85d4
commit 7f1d1b03ad

View File

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