From 13d65b9785d1557e29f5f06871d01bad8e76e44c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 21 Jul 2021 15:22:12 +0200 Subject: Clean up shadowed variables --- libcrystfel/src/indexers/dirax.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcrystfel/src/indexers/dirax.c') diff --git a/libcrystfel/src/indexers/dirax.c b/libcrystfel/src/indexers/dirax.c index ef90a3f7..d1be9e7c 100644 --- a/libcrystfel/src/indexers/dirax.c +++ b/libcrystfel/src/indexers/dirax.c @@ -228,10 +228,10 @@ static void dirax_parseline(const char *line, struct image *image, &d, &d, &d, &d, &d, &d, &di) == 9 ) { if ( acl_nh > dirax->best_acl_nh ) { - int i, found = 0; + int i_acl, found = 0; - for ( i=0; in_acls_tried; i++ ) { - if ( dirax->acls_tried[i] == acl ) found = 1; + for ( i_acl=0; i_acln_acls_tried; i_acl++ ) { + if ( dirax->acls_tried[i_acl] == acl ) found = 1; } if ( !found ) { -- cgit v1.2.3