chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'branchpoint-5.1' into release
[disorder]
/
lib
/
xgetdate.c
diff --git
a/lib/xgetdate.c
b/lib/xgetdate.c
index ae9e183ab448518a68887a67b1afc9c48cae9cfa..42e2d5cd43ce21514f394deb7411eb8b559fa76c 100644
(file)
--- a/
lib/xgetdate.c
+++ b/
lib/xgetdate.c
@@
-119,14
+119,12
@@
xgetdate_r (const char *string, struct tm *tp,
const char *const *template)
{
const char *line;
- size_t len;
char *result = NULL;
time_t timer;
struct tm tm;
int mday_ok = 0;
line = NULL;
- len = 0;
while((line = *template++))
{
/* Do the conversion. */