diff options
Diffstat (limited to 'src/PJ_ob_tran.c')
| -rw-r--r-- | src/PJ_ob_tran.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/PJ_ob_tran.c b/src/PJ_ob_tran.c index 76222fe9..634bb552 100644 --- a/src/PJ_ob_tran.c +++ b/src/PJ_ob_tran.c @@ -100,15 +100,15 @@ static void freeup (PJ *P) { PJ *PROJECTION(ob_tran) { + int i; + double phip; + char *name, *s; + struct pj_opaque *Q = pj_calloc (1, sizeof (struct pj_opaque)); if (0==Q) return freeup_new (P); P->opaque = Q; - int i; - double phip; - char *name, *s; - /* get name of projection to be translated */ if (!(name = pj_param(P->ctx, P->params, "so_proj").s)) E_ERROR(-26); for (i = 0; (s = pj_list[i].id) && strcmp(name, s) ; ++i) ; |
