diff options
| author | Thomas Knudsen <lastname DOT firstname AT gmail DOT com> | 2016-05-11 13:32:50 +0200 |
|---|---|---|
| committer | Thomas Knudsen <lastname DOT firstname AT gmail DOT com> | 2016-05-11 13:32:50 +0200 |
| commit | cb0f8f624f2ce61c7b801daf5ffe20c01b4d3783 (patch) | |
| tree | 6d0cee62e66bbd6d92795a7ed6b98e0ec1ecc609 /src/PJ_omerc.c | |
| parent | 8da93d5e308483ad279edda9e3783b8e0e2f3f50 (diff) | |
| download | PROJ-cb0f8f624f2ce61c7b801daf5ffe20c01b4d3783.tar.gz PROJ-cb0f8f624f2ce61c7b801daf5ffe20c01b4d3783.zip | |
Yet another round of minor corrections
A few args had gone missing in the test setups for lagrng, ob_tran,
omerc, mod_ster.
A mixed declarations and code case corrected in proj_rouss
A missing include added to test228.c
Diffstat (limited to 'src/PJ_omerc.c')
| -rw-r--r-- | src/PJ_omerc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/PJ_omerc.c b/src/PJ_omerc.c index 95960dfa..2fe41426 100644 --- a/src/PJ_omerc.c +++ b/src/PJ_omerc.c @@ -123,15 +123,15 @@ static void freeup (PJ *P) { PJ *PROJECTION(omerc) { + double con, com, cosph0, D, F, H, L, sinph0, p, J, gamma=0, + gamma0, lamc=0, lam1=0, lam2=0, phi1=0, phi2=0, alpha_c=0; + int alp, gam, no_off = 0; + struct pj_opaque *Q = pj_calloc (1, sizeof (struct pj_opaque)); if (0==Q) return freeup_new (P); P->opaque = Q; - double con, com, cosph0, D, F, H, L, sinph0, p, J, gamma=0, - gamma0, lamc=0, lam1=0, lam2=0, phi1=0, phi2=0, alpha_c=0; - int alp, gam, no_off = 0; - Q->no_rot = pj_param(P->ctx, P->params, "tno_rot").i; if ((alp = pj_param(P->ctx, P->params, "talpha").i) != 0) alpha_c = pj_param(P->ctx, P->params, "ralpha").f; |
