aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/peaks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peaks.c b/src/peaks.c
index 9e986431..cfa5e33b 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -148,7 +148,7 @@ static int integrate_peak(struct image *image, int xp, int yp,
for ( x=-INTEGRATION_RADIUS; x<+INTEGRATION_RADIUS; x++ ) {
for ( y=-INTEGRATION_RADIUS; y<+INTEGRATION_RADIUS; y++ ) {
- struct panel *p;
+ struct panel *p = NULL;
double val, sa, pix_area, Lsq, dsq, proj_area;
float tt = 0.0;
double phi, pa, pb, pol;