aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-05-18 14:16:36 +0200
committerThomas White <taw@physics.org>2017-05-18 14:16:36 +0200
commit67d16a69113a81555a14c90c2b69d2b4cf2cb831 (patch)
tree1c5406f7b2ba70da21d0cd376e66406de3dc54b7
parentdff98b66ddf64cbe0f54fa542cc9a704a122e041 (diff)
Fix uninitialised variable
-rw-r--r--libcrystfel/src/taketwo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/taketwo.c b/libcrystfel/src/taketwo.c
index 525652a9..0ea4c499 100644
--- a/libcrystfel/src/taketwo.c
+++ b/libcrystfel/src/taketwo.c
@@ -563,6 +563,7 @@ static signed int finalise_solution(gsl_matrix *rot, struct SpotVec *obs_vecs,
int i, j, count;
+ count = 0;
for ( i=0; i<1; i++ ) {
for ( j=0; j<member_num; j++ ) {
if (i == j) continue;