We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8de793 commit 829c9ceCopy full SHA for 829c9ce
1 file changed
c/tskit/tables.c
@@ -12505,15 +12505,8 @@ tsk_table_collection_compute_mutation_parents(
12505
tsk_table_collection_t *self, tsk_flags_t options)
12506
{
12507
int ret = 0;
12508
- const tsk_mutation_table_t mutations = self->mutations;
12509
12510
if (!(options & TSK_NO_CHECK_INTEGRITY)) {
12511
- /* Set the mutation parent to TSK_NULL so that we don't error
12512
- in the integrity check on data we're about to overwite.
12513
- */
12514
- tsk_memset(
12515
- mutations.parent, 0xff, mutations.num_rows * sizeof(*mutations.parent));
12516
-
12517
/* Safe to cast here as we're not counting trees */
12518
ret = (int) tsk_table_collection_check_integrity(self, TSK_CHECK_TREES);
12519
if (ret < 0) {
0 commit comments