aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-03-29 03:00:54 -0700
committerThomas White <taw@physics.org>2015-04-01 09:34:52 +0200
commit573577da506369be5538b108a04a5468f674e443 (patch)
tree1c8e02d788b17282447ddcd8ac00728d1d5a92b9 /src
parenta1f41743c249d280a4dc56c6433b6b5817388934 (diff)
Initialise indexed_by to INDEXING_NONE
Not entirely sure how this was missed for so long.
Diffstat (limited to 'src')
-rw-r--r--src/process_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/process_image.c b/src/process_image.c
index 536f00f5..b4f831e0 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -190,6 +190,7 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
image.crystals = NULL;
image.n_crystals = 0;
image.serial = serial;
+ image.indexed_by = INDEXING_NONE;
hdfile = hdfile_open(image.filename);
if ( hdfile == NULL ) {