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 --- src/get_hkl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/get_hkl.c') 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); } -- cgit v1.2.3