From 034b20d9356d108bd8d7e8a9f874120b9600cad2 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 25 Jul 2010 15:17:03 +0200 Subject: indexamajig: Fix uninitialised things --- src/indexamajig.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/indexamajig.c b/src/indexamajig.c index 5df08ad3..45ff3b72 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -165,6 +165,9 @@ static struct image *get_simage(struct image *template, int alternate) image->twotheta = NULL; image->data = NULL; image->det = template->det; + image->flags = NULL; + image->f0_available = 0; + image->f0 = 1.0; /* View head-on (unit cell is tilted) */ image->orientation.w = 1.0; -- cgit v1.2.3