aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-06-12 19:57:59 -0700
committerThomas White <taw@bitwiz.org.uk>2010-06-12 19:57:59 -0700
commit02ec280995a7722f2f52b99a345be534a9db3a72 (patch)
tree99a1992e2d20aca25d7cffe3ae8751ce0b7f8576
parentade886b3af986d23a9880c3f244ca53721c0a942 (diff)
Initialisation of "p"
-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;