diff options
author | Thomas White <taw@bitwiz.org.uk> | 2012-08-08 11:59:46 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2012-08-08 11:59:46 +0200 |
commit | e295e00053fff65f53e45ebb6b149d65225d04a8 (patch) | |
tree | 47e6bd3264bff5d592e281b7019c5b284a3a64bf /libcrystfel/src/symmetry.c | |
parent | 7903f6c31f7a13c26d97bdf1f7791c5b5804ea84 (diff) |
Fix buglets spotted by new compiler on Fedora 17
Diffstat (limited to 'libcrystfel/src/symmetry.c')
-rw-r--r-- | libcrystfel/src/symmetry.c | 6 |
1 files changed, 2 insertions, 4 deletions
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); |