From 02ec280995a7722f2f52b99a345be534a9db3a72 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 12 Jun 2010 19:57:59 -0700 Subject: Initialisation of "p" --- src/peaks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3