From b5d11b3ce90ae746e534c1160f6b4541fbf1dd4f Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 7 Sep 2021 16:29:43 +0200 Subject: ambigator: Remove crystal list from detwin() It's not used anywhere, and in fact is freed before being passed in. --- src/ambigator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ambigator.c b/src/ambigator.c index a7ec0eae..fe4d5fa1 100644 --- a/src/ambigator.c +++ b/src/ambigator.c @@ -614,7 +614,7 @@ static struct cc_list *calc_ccs(struct flist **crystals, int n_crystals, static void detwin(struct cc_list *ccs, int n_crystals, int *assignments, - FILE *fh, struct flist **crystals) + FILE *fh) { int i; int nch = 0; @@ -1427,7 +1427,7 @@ int main(int argc, char *argv[]) free(crystals); for ( j=0; j