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 --- tests/pr_gradient_check.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/pr_gradient_check.c') diff --git a/tests/pr_gradient_check.c b/tests/pr_gradient_check.c index 8ca8ace5..6972b66a 100644 --- a/tests/pr_gradient_check.c +++ b/tests/pr_gradient_check.c @@ -225,10 +225,6 @@ static int test_gradients(struct image *image, double incr_val, int refine, double r1, r2, p; int cl, ch; - double tt, dstar; - - dstar = 2.0 * resolution(image->indexed_cell, h, k, l), - tt = 2.0*asin(image->lambda/(2.0/dstar)); grad1 = (vals[1][i] - vals[0][i]) / incr_val; grad2 = (vals[2][i] - vals[1][i]) / incr_val; -- cgit v1.2.3