From 67d16a69113a81555a14c90c2b69d2b4cf2cb831 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 18 May 2017 14:16:36 +0200 Subject: Fix uninitialised variable --- libcrystfel/src/taketwo.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libcrystfel') 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