From 5e733011c3dd7f158cff89cb755d903ec5884e69 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 25 Aug 2014 15:09:21 +0200 Subject: Clean up two more warnings --- tests/pr_l_gradient_check.c | 2 +- tests/pr_pl_gradient_check.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pr_l_gradient_check.c b/tests/pr_l_gradient_check.c index 3b914219..b18196c9 100644 --- a/tests/pr_l_gradient_check.c +++ b/tests/pr_l_gradient_check.c @@ -125,7 +125,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]; diff --git a/tests/pr_pl_gradient_check.c b/tests/pr_pl_gradient_check.c index c47356c1..cb68e0e3 100644 --- a/tests/pr_pl_gradient_check.c +++ b/tests/pr_pl_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