diff options
| author | Kurt Schwehr <schwehr@google.com> | 2018-03-26 04:49:18 -0700 |
|---|---|---|
| committer | Kurt Schwehr <schwehr@google.com> | 2018-03-26 04:49:18 -0700 |
| commit | 4ac0f38ad0a74c4bd596a72edd6c993fe17553a4 (patch) | |
| tree | 137522a9a6b1d5b9c259ee50f4a0d30e907e9a2b /src | |
| parent | 19aef5185f5b39f6c90956da146d26eba142d2a0 (diff) | |
| download | PROJ-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |
