diff options
author | Thomas White <taw@physics.org> | 2014-08-25 14:50:09 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-08-25 14:50:35 +0200 |
commit | 3d6ecd6f7c9253ccc61c155fda1af9e52e5ae3eb (patch) | |
tree | 5a8a3d0b71643fdcd5703781082378d59967a2ba | |
parent | cb7fbc75669d74c46a453c3a3c24ef701455b75f (diff) |
Clean up a warning
-rw-r--r-- | tests/pr_p_gradient_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |