aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/stream.c
diff options
context:
space:
mode:
authorValerio Mariani <valerio.mariani@desy.de>2014-11-10 14:26:45 +0100
committerThomas White <taw@physics.org>2014-11-10 18:59:34 +0100
commite3135a2154b1aa1c137664030972a09e50b7f1d8 (patch)
treed29d9afc83084411065b0219c3b0c43af551d53d /libcrystfel/src/stream.c
parent44fa1b1c46f9cd52fb0f0842a09b1d499e3cf08c (diff)
Copy and Replace when saving geometry
Diffstat (limited to 'libcrystfel/src/stream.c')
-rw-r--r--libcrystfel/src/stream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index 07568024..988570bc 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -266,7 +266,8 @@ static RefList *read_stream_reflections_2_3(FILE *fh, struct detector *det)
double ph;
char *v;
struct panel *p;
- float write_fs, write_ss;
+ float write_fs = 0;
+ float write_ss = 0;
refl = add_refl(out, h, k, l);
set_intensity(refl, intensity);