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 /src/get_hkl.c | |
parent | 7903f6c31f7a13c26d97bdf1f7791c5b5804ea84 (diff) |
Fix buglets spotted by new compiler on Fedora 17
Diffstat (limited to 'src/get_hkl.c')
-rw-r--r-- | src/get_hkl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c index e298680d..00de38a5 100644 --- a/src/get_hkl.c +++ b/src/get_hkl.c @@ -270,10 +270,8 @@ static RefList *expand_reflections(RefList *in, const SymOpList *target, signed int h, k, l; int n, j; - double intensity; get_indices(refl, &h, &k, &l); - intensity = get_intensity(refl); special_position(initial, m, h, k, l); n = num_equivs(initial, m); @@ -298,7 +296,7 @@ static RefList *expand_reflections(RefList *in, const SymOpList *target, /* FIXME: Make phase negative if the reflection is * separated from the original via an inversion */ - get_phase(refl, &have_phase); + ph = get_phase(refl, &have_phase); if ( have_phase ) set_phase(new, -ph); } |