aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-03-18 13:26:22 +0100
committerGitHub <noreply@github.com>2019-03-18 13:26:22 +0100
commit4b99c3b47e76afdeda2425e39ff53fed0f12b679 (patch)
tree6d5e8e549d004eac930ac37f09b85e103a1c3720 /src/init.cpp
parent06d7f93ad3a862abca8a404de05fd655a8bc797c (diff)
parente1350cac43d5a9854207af3fb318a74be7fcd12f (diff)
downloadPROJ-4b99c3b47e76afdeda2425e39ff53fed0f12b679.tar.gz
PROJ-4b99c3b47e76afdeda2425e39ff53fed0f12b679.zip
Merge pull request #1328 from rouault/cppcheck_fixes
Fix some issues raised by latest cppcheck
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 13ea4ae8..1c0eddf0 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -673,8 +673,8 @@ pj_init_ctx_with_allow_init_epsg(projCtx ctx, int argc, char **argv, int allow_i
if (PJD_ERR_MAJOR_AXIS_NOT_GIVEN==proj_errno (PIN))
proj_errno_reset (PIN);
PIN->f = 1.0/298.257223563;
- PIN->a_orig = PIN->a = 6378137.0;
- PIN->es_orig = PIN->es = PIN->f*(2-PIN->f);
+ PIN->a = 6378137.0;
+ PIN->es = PIN->f*(2-PIN->f);
}
}
PIN->a_orig = PIN->a;