aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/parsedate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parsedate.c b/lib/parsedate.c
index ecb8dfb42..3e168f5ab 100644
--- a/lib/parsedate.c
+++ b/lib/parsedate.c
@@ -545,7 +545,7 @@ static int parsedate(const char *date, time_t *output)
time_t curl_getdate(const char *p, const time_t *now)
{
- time_t parsed;
+ time_t parsed = -1;
int rc = parsedate(p, &parsed);
(void)now; /* legacy argument from the past that we ignore */