summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/parse-xml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c
index bca0269a3..79a7b53e0 100644
--- a/core/parse-xml.c
+++ b/core/parse-xml.c
@@ -343,6 +343,7 @@ static void sampletime(char *buffer, duration_t *time)
time->seconds = (hr * 60 + min) * 60 + sec;
break;
default:
+ time->seconds = 0;
printf("Strange sample time reading %s\n", buffer);
}
}