From 3d6ecd6f7c9253ccc61c155fda1af9e52e5ae3eb Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 25 Aug 2014 14:50:09 +0200 Subject: Clean up a warning --- tests/pr_p_gradient_check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pr_p_gradient_check.c b/tests/pr_p_gradient_check.c index a4ffa2e4..b88380eb 100644 --- a/tests/pr_p_gradient_check.c +++ b/tests/pr_p_gradient_check.c @@ -238,7 +238,7 @@ static double test_gradients(Crystal *cr, double incr_val, int refine, int nref; int n_good, n_invalid, n_small, n_nan, n_bad; RefList *reflections; - FILE *fh; + FILE *fh = NULL; int ntot = 0; double total = 0.0; char tmp[32]; -- cgit v1.2.3