aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-05-28 16:01:44 +0200
committerThomas White <taw@physics.org>2020-07-29 18:42:57 +0200
commit1a2b5c14c251adce8bb1229779f52952174ce525 (patch)
tree2d346756ead3822e30aece47f27365fdffde14ad /libcrystfel
parentc5424abc8fccfa6b205db45f0ae2d64a362f01f5 (diff)
Add missing initialisation
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/image.c2
1 files changed, 1 insertions, 1 deletions
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;