diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-06-12 19:57:59 -0700 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-06-12 19:57:59 -0700 |
commit | 02ec280995a7722f2f52b99a345be534a9db3a72 (patch) | |
tree | 99a1992e2d20aca25d7cffe3ae8751ce0b7f8576 | |
parent | ade886b3af986d23a9880c3f244ca53721c0a942 (diff) |
Initialisation of "p"
-rw-r--r-- | src/peaks.c | 2 |
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; |