aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pj_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pj_init.c b/src/pj_init.c
index e5b1441a..f7b900f9 100644
--- a/src/pj_init.c
+++ b/src/pj_init.c
@@ -593,9 +593,10 @@ pj_init_ctx(projCtx ctx, int argc, char **argv) {
/* Set datum parameters. Similarly to +init parameters we want to expand */
/* +datum parameters as late as possible when dealing with pipelines. */
/* otherwise only the first occurrence of +datum will be expanded and that */
- if (n_pipelines == 0)
+ if (n_pipelines == 0) {
if (pj_datum_set(ctx, start, PIN))
return pj_default_destructor (PIN, proj_errno(PIN));
+ }
err = pj_ellipsoid (PIN);