aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/indexers/dirax.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-07-21 15:22:12 +0200
committerThomas White <taw@physics.org>2021-07-22 11:22:18 +0200
commit13d65b9785d1557e29f5f06871d01bad8e76e44c (patch)
treedfd9c52a80639882695eb63b0c87af06ebcbb29d /libcrystfel/src/indexers/dirax.c
parentd5cf0404a08253f52c6ddf3f6d80e694b9de4e7a (diff)
Clean up shadowed variables
Diffstat (limited to 'libcrystfel/src/indexers/dirax.c')
-rw-r--r--libcrystfel/src/indexers/dirax.c6
1 files changed, 3 insertions, 3 deletions
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; i<dirax->n_acls_tried; i++ ) {
- if ( dirax->acls_tried[i] == acl ) found = 1;
+ for ( i_acl=0; i_acl<dirax->n_acls_tried; i_acl++ ) {
+ if ( dirax->acls_tried[i_acl] == acl ) found = 1;
}
if ( !found ) {