aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/peaks.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-03-09 18:21:58 +0100
committerThomas White <taw@physics.org>2012-03-09 18:21:58 +0100
commit7236d936e381faf32950f1091aa57f240644ac16 (patch)
treed594eb58c91c55138c84921eaf39654e824145b8 /libcrystfel/src/peaks.c
parent4be9287d7ae69bcfee52efed5a108f31c0f40f7e (diff)
Compile libcrystfel with -Wall, fix warnings
Diffstat (limited to 'libcrystfel/src/peaks.c')
-rw-r--r--libcrystfel/src/peaks.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c
index 974d5b2e..cfe27496 100644
--- a/libcrystfel/src/peaks.c
+++ b/libcrystfel/src/peaks.c
@@ -186,8 +186,6 @@ int integrate_peak(struct image *image, int cfs, int css,
for ( ss=-ir_out; ss<+ir_out; ss++ ) {
double val;
- double tt = 0.0;
- double phi, pa, pb, pol;
uint16_t flags;
struct panel *p2;
int idx;
@@ -237,8 +235,6 @@ int integrate_peak(struct image *image, int cfs, int css,
for ( ss=-ir_inn; ss<+ir_inn; ss++ ) {
double val;
- double tt = 0.0;
- double phi, pa, pb, pol;
uint16_t flags;
struct panel *p2;
int idx;
@@ -309,8 +305,6 @@ static void search_peaks_in_panel(struct image *image, float threshold,
double f_ss = 0.0;
double intensity = 0.0;
double sigma = 0.0;
- double pbg = 0.0;
- double pmax = 0.0;
int nrej_dis = 0;
int nrej_pro = 0;
int nrej_fra = 0;
@@ -564,6 +558,7 @@ static int compare_resolution(const void *av, const void *bv)
return a->res > b->res;
}
+
static struct integr_ind *sort_reflections(RefList *list, UnitCell *cell,
int *np)
{
@@ -629,7 +624,6 @@ void integrate_reflections(struct image *image, int use_closer, int bgsub,
double fs, ss, intensity;
double d;
int idx;
- double bg, max;
double sigma, snr;
double pfs, pss;
int r;