From 60c2e01b0faa0ff4955d9ffe1e99c7c8cffc2c5c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 5 Jun 2010 15:40:10 +0200 Subject: Fix/add exit paths --- src/peaks.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/peaks.c') 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); -- cgit v1.2.3