From dbf5010eb786407742c45e6a11652bc11c6b1a46 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Tue, 3 May 2016 05:56:27 +0000 Subject: cleanup git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2748 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- analyzer/pgmtexture.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'analyzer/pgmtexture.c') diff --git a/analyzer/pgmtexture.c b/analyzer/pgmtexture.c index 07317336..84c6bf4a 100644 --- a/analyzer/pgmtexture.c +++ b/analyzer/pgmtexture.c @@ -518,11 +518,12 @@ f3_corr(float ** const p, the image. -----------------------------------------------------------------------------*/ unsigned int i; - float sumSqrx, sumSqry, tmp; + float sumSqrx; + float tmp; float * px; float meanx, meany, stddevx, stddevy; - sumSqrx = 0.0; sumSqry = 0.0; + sumSqrx = 0.0; meanx = 0.0; meany = 0.0; px = vector(0, ng); @@ -545,7 +546,6 @@ f3_corr(float ** const p, } meany = meanx; - sumSqry = sumSqrx; stddevx = sqrt(sumSqrx - (SQR(meanx))); stddevy = stddevx; -- cgit 1.4.1