aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-08-25 14:50:09 +0200
committerThomas White <taw@physics.org>2014-08-25 14:50:35 +0200
commit3d6ecd6f7c9253ccc61c155fda1af9e52e5ae3eb (patch)
tree5a8a3d0b71643fdcd5703781082378d59967a2ba
parentcb7fbc75669d74c46a453c3a3c24ef701455b75f (diff)
Clean up a warning
-rw-r--r--tests/pr_p_gradient_check.c2
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];