aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-09-26 14:49:26 +0200
committerThomas White <taw@physics.org>2017-09-26 14:49:26 +0200
commitc00eb179712102d66b74a360c65e7cd451103e0b (patch)
treef8ffa9f8600b16ac4e70b897ef3d8455bbaf15f8 /libcrystfel/src/index.c
parent0ba6ac905f656be5fbdda0f681e618789c1e3a27 (diff)
Remove unnecessary counting
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index 9a0cb8cf..e2344e36 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -579,7 +579,6 @@ static int try_indexer(struct image *image, IndexingMethod indm,
ipriv->tolerance) )
{
crystal_set_user_flag(cr, 1);
- n_bad++;
continue;
}
@@ -588,7 +587,6 @@ static int try_indexer(struct image *image, IndexingMethod indm,
{
if ( refine_prediction(image, cr) ) {
crystal_set_user_flag(cr, 1);
- n_bad++;
continue;
}
}
@@ -598,7 +596,6 @@ static int try_indexer(struct image *image, IndexingMethod indm,
ipriv->tolerance) )
{
crystal_set_user_flag(cr, 1);
- n_bad++;
continue;
}
@@ -607,7 +604,6 @@ static int try_indexer(struct image *image, IndexingMethod indm,
{
if ( !peak_sanity_check(image, &cr, 1) ) {
crystal_set_user_flag(cr, 1);
- n_bad++;
continue;
}
}