diff options
author | Thomas White <taw@physics.org> | 2022-06-09 17:24:54 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-06-09 17:24:54 +0200 |
commit | fdb262fe85917a8d62e6de41cc091a5cdf1a02ac (patch) | |
tree | 24dcd2219e6d61bde5a8c2150b895acb9c8a8136 /libcrystfel/src/peakfinder8.c | |
parent | b4928e70e401c6c7b97e17dbcaccaaf934d1cb6f (diff) |
Remove some unused variables
Diffstat (limited to 'libcrystfel/src/peakfinder8.c')
-rw-r--r-- | libcrystfel/src/peakfinder8.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libcrystfel/src/peakfinder8.c b/libcrystfel/src/peakfinder8.c index 93a8cc06..537c2365 100644 --- a/libcrystfel/src/peakfinder8.c +++ b/libcrystfel/src/peakfinder8.c @@ -662,7 +662,6 @@ static void search_in_ring(int ring_width, int com_fs_int, int com_ss_int, float curr_i; int np_sigma; - int np_counted; int local_radius; float sum_i; @@ -673,7 +672,6 @@ static void search_in_ring(int ring_width, int com_fs_int, int com_ss_int, sum_i = 0; sum_i_squared = 0; np_sigma = 0; - np_counted = 0; local_radius = 0; for ( ssj = -ring_width ; ssj<ring_width ; ssj++ ) { @@ -712,7 +710,6 @@ static void search_in_ring(int ring_width, int com_fs_int, int com_ss_int, *background_max_i = curr_i; } } - np_counted += 1; } } |