From cde489ce64556e0ad5fa5da64bcb8fd88aee4c39 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Mon, 12 Mar 2018 22:42:38 +0100 Subject: Fix various dead initialization warnings spotted by clang static analyzer --- src/PJ_chamb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PJ_chamb.c') diff --git a/src/PJ_chamb.c b/src/PJ_chamb.c index ca9c5edc..571bdf10 100644 --- a/src/PJ_chamb.c +++ b/src/PJ_chamb.c @@ -50,7 +50,7 @@ static double lc(projCtx ctx, double b,double c,double a) { static XY s_forward (LP lp, PJ *P) { /* Spheroidal, forward */ - XY xy = {0.0,0.0}; + XY xy; struct pj_opaque *Q = P->opaque; double sinphi, cosphi, a; VECT v[3]; -- cgit v1.2.3