summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 8128f25ee..5061227e3 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -169,7 +169,7 @@ static void divedate(char *buffer, void *_when)
{
int d,m,y;
timestamp_t *when = _when;
- int success = 0;
+ int success;
success = cur_tm.tm_sec | cur_tm.tm_min | cur_tm.tm_hour;
if (sscanf(buffer, "%d.%d.%d", &d, &m, &y) == 3) {