aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_vgridshift.c
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2017-11-27 20:21:52 +0100
committerKristian Evers <kristianevers@gmail.com>2017-11-27 20:23:25 +0100
commitf0181b0a24d9d3a8bb593811945fea008128f94a (patch)
treec4ef5fc40f00481755c86f383be839b7b81eac68 /src/PJ_vgridshift.c
parent25b011042fdff451ca2826afe82251c06d883fb8 (diff)
parent1f48f4c333bfe135296d3be643ef4981dc401c38 (diff)
downloadPROJ-f0181b0a24d9d3a8bb593811945fea008128f94a.tar.gz
PROJ-f0181b0a24d9d3a8bb593811945fea008128f94a.zip
Merge remote-tracking branch 'osgeo/master' into docs-release-4.10.0
Diffstat (limited to 'src/PJ_vgridshift.c')
-rw-r--r--src/PJ_vgridshift.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PJ_vgridshift.c b/src/PJ_vgridshift.c
index 97faa240..850734fc 100644
--- a/src/PJ_vgridshift.c
+++ b/src/PJ_vgridshift.c
@@ -6,7 +6,7 @@ PROJ_HEAD(vgridshift, "Vertical grid shift");
static XYZ forward_3d(LPZ lpz, PJ *P) {
- PJ_TRIPLET point;
+ PJ_COORD point = {{0,0,0,0}};
point.lpz = lpz;
if (P->vgridlist_geoid != NULL) {
@@ -20,7 +20,7 @@ static XYZ forward_3d(LPZ lpz, PJ *P) {
static LPZ reverse_3d(XYZ xyz, PJ *P) {
- PJ_TRIPLET point;
+ PJ_COORD point = {{0,0,0,0}};
point.xyz = xyz;
if (P->vgridlist_geoid != NULL) {
@@ -34,7 +34,7 @@ static LPZ reverse_3d(XYZ xyz, PJ *P) {
static PJ_COORD forward_4d(PJ_COORD obs, PJ *P) {
- PJ_COORD point;
+ PJ_COORD point = {{0,0,0,0}};
point.xyz = forward_3d (obs.lpz, P);
return point;
}