aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-06-05 15:40:10 +0200
committerThomas White <taw@bitwiz.org.uk>2010-06-05 15:40:10 +0200
commit60c2e01b0faa0ff4955d9ffe1e99c7c8cffc2c5c (patch)
tree8f1920b724f7598c11e9dcf2028656613cec8e6d /src/peaks.c
parentea369696428af621a3acfd53791d9c98d4402584 (diff)
Fix/add exit paths
Diffstat (limited to 'src/peaks.c')
-rw-r--r--src/peaks.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/peaks.c b/src/peaks.c
index 68482e94..e4853a71 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -167,9 +167,7 @@ static int integrate_peak(struct image *image, int xp, int yp,
}
p = find_panel(&image->det, x+xp, y+yp);
- if ( p == NULL ) {
- return 1;
- }
+ if ( p == NULL ) return 1;
/* Area of one pixel */
pix_area = pow(1.0/p->res, 2.0);