From e295e00053fff65f53e45ebb6b149d65225d04a8 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 8 Aug 2012 11:59:46 +0200 Subject: Fix buglets spotted by new compiler on Fedora 17 --- libcrystfel/src/symmetry.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libcrystfel/src/symmetry.c') diff --git a/libcrystfel/src/symmetry.c b/libcrystfel/src/symmetry.c index ab837ec0..0352e441 100644 --- a/libcrystfel/src/symmetry.c +++ b/libcrystfel/src/symmetry.c @@ -1275,8 +1275,7 @@ SymOpList *get_ambiguities(const SymOpList *source, const SymOpList *target) SymOpList *src_reordered; SymOpMask *used; char *name; - int index; - + n_src = num_ops(source); n_tgt = num_ops(target); @@ -1290,8 +1289,7 @@ SymOpList *get_ambiguities(const SymOpList *source, const SymOpList *target) ERROR("Subgroup index would be fractional.\n"); return NULL; } - index = n_src / n_tgt; - + src_reordered = new_symoplist(); used = new_symopmask(source); -- cgit v1.2.3