aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-09-11 14:54:14 +0200
committerThomas White <taw@physics.org>2014-09-12 11:01:55 +0200
commit9817d9349ccd8c2344ba872f747e57eced1f3789 (patch)
tree3f084f86576fc2794b5641b8c2490bf3c6fa591b
parent3a4844fed1f7d1c12dffaf41a9310f55dfdc4dd9 (diff)
partial_sim: Initialise image.event to NULL
-rw-r--r--src/partial_sim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index 89ad5a2e..d5933afd 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -712,6 +712,7 @@ int main(int argc, char *argv[])
image.num_peaks = 0;
image.num_saturated_peaks = 0;
image.spectrum_size = 0;
+ image.event = NULL;
if ( random_intensities ) {
full = reflist_new();