aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/peaks.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/peaks.c b/src/peaks.c
index 0592ba9b..663ed17f 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -534,14 +534,10 @@ void integrate_reflections(struct image *image, int polar, int use_closer,
int idx;
double bg, max;
double sigma;
- struct panel *p;
double pfs, pss;
int r;
get_detector_pos(refl, &pfs, &pss);
- p = find_panel(image->det, pfs, pss);
- if ( p == NULL ) continue;
- if ( p->no_index ) continue;
/* Is there a really close feature which was detected? */
if ( use_closer ) {