aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/PJ_cea.c2
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);