summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/lib/parsedate.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmcurl/lib/parsedate.c')
-rw-r--r--Utilities/cmcurl/lib/parsedate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmcurl/lib/parsedate.c b/Utilities/cmcurl/lib/parsedate.c
index ecb8dfb..3e168f5 100644
--- a/Utilities/cmcurl/lib/parsedate.c
+++ b/Utilities/cmcurl/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 */