From 1a2b5c14c251adce8bb1229779f52952174ce525 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 28 May 2020 16:01:44 +0200 Subject: Add missing initialisation --- libcrystfel/src/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c index 9474d266..18939f3a 100644 --- a/libcrystfel/src/image.c +++ b/libcrystfel/src/image.c @@ -1101,7 +1101,7 @@ static int load_mask_hdf5(struct panel_template *p, int *bad, int mask_good, int mask_bad) { int p_w, p_h; - int *mask; + int *mask = NULL; long unsigned int j; p_w = p->orig_max_fs - p->orig_min_fs + 1; -- cgit v1.2.3