aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKurt Schwehr <schwehr@google.com>2018-03-26 04:49:18 -0700
committerKurt Schwehr <schwehr@google.com>2018-03-26 04:49:18 -0700
commit4ac0f38ad0a74c4bd596a72edd6c993fe17553a4 (patch)
tree137522a9a6b1d5b9c259ee50f4a0d30e907e9a2b /src
parent19aef5185f5b39f6c90956da146d26eba142d2a0 (diff)
downloadPROJ-4ac0f38ad0a74c4bd596a72edd6c993fe17553a4.tar.gz
PROJ-4ac0f38ad0a74c4bd596a72edd6c993fe17553a4.zip
Initialize test_time other fields.
Leaving x, y, z fields unset triggers an MSAN failure. fwd_prepare pj_fwd.c:40:9 pj_fwd4d pj_fwd.c:260:15 proj_trans proj_4D_api.c:166:20 test_time gie.c:1955:11
Diffstat (limited to 'src')
-rw-r--r--src/gie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gie.c b/src/gie.c
index 5685a6c2..14d0fde3 100644
--- a/src/gie.c
+++ b/src/gie.c
@@ -1950,7 +1950,7 @@ static int test_time(const char* args, double tol, double t_in, double t_exp) {
if (P == 0)
return 5;
- in.xyzt.t = t_in;
+ in = proj_coord(0.0, 0.0, 0.0, t_in);
out = proj_trans(P, PJ_FWD, in);
if (fabs(out.xyzt.t - t_exp) > tol) {