diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2015-06-28 18:49:16 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2015-06-28 18:49:16 +0200 |
| commit | 82d11183a28ea73c79ee4b9ad9f21d31774433b3 (patch) | |
| tree | 1ffd17dcb10b871de382afaf53fb8e732a112b11 /src | |
| parent | 9b8aed201ea3e108f969332732b110f48926d5a1 (diff) | |
| download | PROJ-82d11183a28ea73c79ee4b9ad9f21d31774433b3.tar.gz PROJ-82d11183a28ea73c79ee4b9ad9f21d31774433b3.zip | |
PJ_cea.c: initialize variable that wasn't initialized when lat_ts is not defined
Diffstat (limited to 'src')
| -rw-r--r-- | src/PJ_cea.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_cea.c b/src/PJ_cea.c index aa544db6..44c0a887 100644 --- a/src/PJ_cea.c +++ b/src/PJ_cea.c @@ -40,7 +40,7 @@ FREEUP; } } ENTRY1(cea, apa) - double t; + double t = 0.0; if (pj_param(P->ctx, P->params, "tlat_ts").i) { P->k0 = cos(t = pj_param(P->ctx, P->params, "rlat_ts").f); |
