From c13a6bad5e728e0a3d992b1f0abd0d65829a8054 Mon Sep 17 00:00:00 2001 From: Nick Croucher Date: Tue, 23 Apr 2024 11:02:27 +0100 Subject: [PATCH] Remove extra iterator --- src/branch_sequences.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/branch_sequences.c b/src/branch_sequences.c index 2d5e0447..edc30afb 100644 --- a/src/branch_sequences.c +++ b/src/branch_sequences.c @@ -380,9 +380,7 @@ void generate_branch_sequences(newick_node *node, FILE *vcf_file_pointer,int * s free(branch_snp_sequence); free(branch_snp_ancestor_sequence); free(branches_snp_sites); - - child_counter++; - + } // Deallocate memory for each string in child_sequences