diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pr_l_gradient_check.c | 2 | ||||
-rw-r--r-- | 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]; |