Skip to content

Commit 829c9ce

Browse files
committed
Don't clear mutations
1 parent d8de793 commit 829c9ce

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

c/tskit/tables.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12505,15 +12505,8 @@ tsk_table_collection_compute_mutation_parents(
1250512505
tsk_table_collection_t *self, tsk_flags_t options)
1250612506
{
1250712507
int ret = 0;
12508-
const tsk_mutation_table_t mutations = self->mutations;
1250912508

1251012509
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-
1251712510
/* Safe to cast here as we're not counting trees */
1251812511
ret = (int) tsk_table_collection_check_integrity(self, TSK_CHECK_TREES);
1251912512
if (ret < 0) {

0 commit comments

Comments
 (0)