aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/indexers/felix.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/indexers/felix.c')
-rw-r--r--libcrystfel/src/indexers/felix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/indexers/felix.c b/libcrystfel/src/indexers/felix.c
index b7d2a8a3..db7da8c4 100644
--- a/libcrystfel/src/indexers/felix.c
+++ b/libcrystfel/src/indexers/felix.c
@@ -131,7 +131,6 @@ static int read_felix(struct felix_private *gp, struct image *image,
float mean_ia;
int ngv;
char line[1024];
- int r;
int n_crystals = 0;
fh = fopen(filename, "r");
@@ -151,6 +150,7 @@ static int read_felix(struct felix_private *gp, struct image *image,
Crystal *cr;
UnitCell *cell;
+ int r;
/* One line per grain */
if ( fgets( line, 1024, fh ) == NULL ) {