diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/PJ_chamb.c | 2 | ||||
| -rw-r--r-- | src/PJ_goode.c | 4 | ||||
| -rw-r--r-- | src/PJ_igh.c | 2 |
3 files changed, 4 insertions, 4 deletions
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]; diff --git a/src/PJ_goode.c b/src/PJ_goode.c index 1554fd41..65761c4b 100644 --- a/src/PJ_goode.c +++ b/src/PJ_goode.c @@ -17,7 +17,7 @@ struct pj_opaque { static XY s_forward (LP lp, PJ *P) { /* Spheroidal, forward */ - XY xy = {0.0,0.0}; + XY xy; struct pj_opaque *Q = P->opaque; if (fabs(lp.phi) <= PHI_LIM) @@ -31,7 +31,7 @@ static XY s_forward (LP lp, PJ *P) { /* Spheroidal, forward */ static LP s_inverse (XY xy, PJ *P) { /* Spheroidal, inverse */ - LP lp = {0.0,0.0}; + LP lp; struct pj_opaque *Q = P->opaque; if (fabs(xy.y) <= PHI_LIM) diff --git a/src/PJ_igh.c b/src/PJ_igh.c index d1d684e7..bb97a8b5 100644 --- a/src/PJ_igh.c +++ b/src/PJ_igh.c @@ -36,7 +36,7 @@ struct pj_opaque { static XY s_forward (LP lp, PJ *P) { /* Spheroidal, forward */ - XY xy = {0.0,0.0}; + XY xy; struct pj_opaque *Q = P->opaque; int z; |
